To be consistent with subsequent error message specifically mentioning
zero RX queues, add a reference to TX queues to the error message.

Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca>

---

diff --git a/net/core/dev.c b/net/core/dev.c
index 325fc5088370..a5d0c2244fb5 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -8867,7 +8867,7 @@ struct net_device *alloc_netdev_mqs(int sizeof_priv, 
const char *name,
        BUG_ON(strlen(name) >= sizeof(dev->name));

        if (txqs < 1) {
-               pr_err("alloc_netdev: Unable to allocate device with zero 
queues\n");
+               pr_err("alloc_netdev: Unable to allocate device with zero TX 
queues\n");
                return NULL;
        }


-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

Reply via email to