Qian Cai
bf29e9e9b6
net/core: tidy up an error message
...
netif_napi_add() could report an error like this below due to it allows
to pass a format string for wildcarding before calling
dev_get_valid_name(),
"netif_napi_add() called with weight 256 on device eth%d"
For example, hns_enet_drv module does this.
hns_nic_try_get_ae
hns_nic_init_ring_data
netif_napi_add
register_netdev
dev_get_valid_name
Hence, make it a bit more human-readable by using netdev_err_once()
instead.
Signed-off-by: Qian Cai <cai@gmx.us >
Signed-off-by: David S. Miller <davem@davemloft.net >
2018-12-03 16:14:51 -08:00
..
2018-07-06 12:32:12 +02:00
2018-11-03 10:35:52 -07:00
2018-10-19 17:01:43 -07:00
2018-06-28 10:40:47 -07:00
2018-10-23 10:57:06 -07:00
2018-07-24 14:10:42 -07:00
2018-11-12 10:41:29 +01:00
2018-11-01 19:58:52 -07:00
2018-10-19 13:49:34 -07:00
2018-10-22 19:37:36 -07:00
2018-11-17 21:38:44 -08:00
2018-10-23 10:57:06 -07:00
2018-11-09 17:19:34 +01:00
2018-11-19 17:59:47 +01:00
2018-12-03 16:14:51 -08:00
2018-07-27 13:17:50 -07:00
2018-10-23 10:57:06 -07:00
2018-09-21 19:48:36 -07:00
2018-10-04 09:40:52 -07:00
2018-11-30 17:17:39 -08:00
2018-06-26 11:33:04 +09:00
2018-09-21 19:45:52 -07:00
2018-04-22 21:12:00 -04:00
2018-11-30 17:22:41 -08:00
2018-11-28 11:02:45 -08:00
2018-10-23 10:57:06 -07:00
2018-09-17 18:43:42 -07:00
2018-07-27 09:33:37 -07:00
2018-11-14 22:49:31 -08:00
2018-10-22 19:59:20 -07:00
2018-10-12 13:05:40 +02:00
2018-09-28 12:46:07 +08:00
2018-10-16 00:14:07 -07:00
2018-10-17 22:14:54 -07:00
2018-11-28 10:56:40 +01:00
2018-09-21 18:58:34 -07:00
2018-10-16 00:13:12 -07:00
2018-06-28 10:40:47 -07:00
2018-10-24 14:43:41 +01:00
2018-07-12 16:55:29 -07:00
2018-11-30 13:18:09 -08:00
2018-11-23 11:08:03 -08:00
2018-06-28 10:40:47 -07:00
2018-07-05 20:20:03 +09:00
2018-10-12 21:38:46 -07:00
2018-09-04 21:33:03 -07:00
2018-06-28 10:40:47 -07:00
2018-11-15 11:35:40 -08:00
2018-11-30 17:14:06 -08:00
2018-12-03 15:54:41 -08:00
2018-11-21 16:14:56 -08:00
2018-10-15 12:23:19 -07:00
2018-11-15 10:59:37 -06:00
2018-11-27 16:30:39 -08:00
2018-11-01 19:58:52 -07:00
2018-10-23 10:57:06 -07:00
2018-08-07 12:39:13 -07:00
2018-07-24 14:10:42 -07:00
2018-10-12 12:56:34 +02:00
2018-11-29 14:25:36 -08:00
2018-10-19 11:03:06 -07:00
2018-11-03 18:25:17 -07:00
2018-08-29 15:42:24 +02:00
2018-10-15 12:23:19 -07:00
2018-06-28 13:36:39 +09:00
2018-11-17 21:34:11 -08:00
2018-03-27 13:18:09 -04:00