projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcdf871
)
smsc911x: replace printk with netdev_ calls
author
Ben Boeckel
<mathstuf@gmail.com>
Fri, 1 Nov 2013 12:53:33 +0000
(08:53 -0400)
committer
David S. Miller
<davem@davemloft.net>
Sat, 2 Nov 2013 05:19:24 +0000
(
01:19
-0400)
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc911x.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/smsc/smsc911x.c
b/drivers/net/ethernet/smsc/smsc911x.c
index
01f8459
..
8564f23
100644
(file)
--- a/
drivers/net/ethernet/smsc/smsc911x.c
+++ b/
drivers/net/ethernet/smsc/smsc911x.c
@@
-2167,7
+2167,7
@@
static int smsc911x_init(struct net_device *dev)
udelay(1000);
if (to == 0) {
-
pr_err(
"Device not READY in 100ms aborting\n");
+
netdev_err(dev,
"Device not READY in 100ms aborting\n");
return -ENODEV;
}