projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c4f778
)
rocker: use netdev_err after register_netdev
author
Scott Feldman
<sfeldma@gmail.com>
Tue, 4 Aug 2015 05:31:18 +0000
(22:31 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 7 Aug 2015 04:47:57 +0000
(21:47 -0700)
After successful register_netdev, we can use netdev_err rather the more
generic dev_err.
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/rocker/rocker.c
b/drivers/net/ethernet/rocker/rocker.c
index 5309d1fd8eb3a615e49760849e36534a61640a43..b77e0e7307d45e22ea28d1bf88c14116ef3ab09b 100644
(file)
--- a/
drivers/net/ethernet/rocker/rocker.c
+++ b/
drivers/net/ethernet/rocker/rocker.c
@@
-4988,7
+4988,7
@@
static int rocker_probe_port(struct rocker *rocker, unsigned int port_number)
err = rocker_port_ig_tbl(rocker_port, SWITCHDEV_TRANS_NONE, 0);
if (err) {
-
dev_err(&pdev
->dev, "install ig port table failed\n");
+
netdev_err(rocker_port
->dev, "install ig port table failed\n");
goto err_port_ig_tbl;
}