OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60959e5
)
staging: wilc1000: linux_mon.c: replaces PRINT_ER with netdev_err
author
Leo Kim
<leo.kim@atmel.com>
Mon, 22 Feb 2016 04:11:48 +0000
(13:11 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 22 Feb 2016 19:47:00 +0000
(11:47 -0800)
This patches replaces PRINT_ER with netdev_err.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_mon.c
patch
|
blob
|
history
diff --git
a/drivers/staging/wilc1000/linux_mon.c
b/drivers/staging/wilc1000/linux_mon.c
index
558fb50
..
2b575d1
100644
(file)
--- a/
drivers/staging/wilc1000/linux_mon.c
+++ b/
drivers/staging/wilc1000/linux_mon.c
@@
-308,7
+308,7
@@
struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_devi
ret = register_netdevice(wilc_wfi_mon);
if (ret) {
-
PRINT_ER(" register_netdevice failed (%d)\n", ret
);
+
netdev_err(real_dev, "register_netdevice failed\n"
);
return NULL;
}
priv = netdev_priv(wilc_wfi_mon);