diff options
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 3470e7fff1f4..e06223b65674 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -6209,8 +6209,8 @@ void netif_napi_add(struct net_device *dev, struct napi_struct *napi, | |||
6209 | napi->skb = NULL; | 6209 | napi->skb = NULL; |
6210 | napi->poll = poll; | 6210 | napi->poll = poll; |
6211 | if (weight > NAPI_POLL_WEIGHT) | 6211 | if (weight > NAPI_POLL_WEIGHT) |
6212 | pr_err_once("netif_napi_add() called with weight %d on device %s\n", | 6212 | netdev_err_once(dev, "%s() called with weight %d\n", __func__, |
6213 | weight, dev->name); | 6213 | weight); |
6214 | napi->weight = weight; | 6214 | napi->weight = weight; |
6215 | list_add(&napi->dev_list, &dev->napi_list); | 6215 | list_add(&napi->dev_list, &dev->napi_list); |
6216 | napi->dev = dev; | 6216 | napi->dev = dev; |