|
@@ -6209,8 +6209,8 @@ void netif_napi_add(struct net_device *dev, struct napi_struct *napi,
|
|
napi->skb = NULL;
|
|
napi->skb = NULL;
|
|
napi->poll = poll;
|
|
napi->poll = poll;
|
|
if (weight > NAPI_POLL_WEIGHT)
|
|
if (weight > NAPI_POLL_WEIGHT)
|
|
- pr_err_once("netif_napi_add() called with weight %d on device %s\n",
|
|
|
|
- weight, dev->name);
|
|
|
|
|
|
+ netdev_err_once(dev, "%s() called with weight %d\n", __func__,
|
|
|
|
+ weight);
|
|
napi->weight = weight;
|
|
napi->weight = weight;
|
|
list_add(&napi->dev_list, &dev->napi_list);
|
|
list_add(&napi->dev_list, &dev->napi_list);
|
|
napi->dev = dev;
|
|
napi->dev = dev;
|