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:
f291196
)
[NETCONSOLE]: Clean up initcall warning.
author
Matt Mackall
<
[email protected]
>
Mon, 5 Jun 2006 22:04:37 +0000
(15:04 -0700)
committer
David S. Miller
<
[email protected]
>
Mon, 5 Jun 2006 22:04:37 +0000
(15:04 -0700)
From: Matt Mackall <
[email protected]
>
netconsole is being wrong here. If it wasn't enabled there's no error.
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/netconsole.c
patch
|
blob
|
history
diff --git
a/drivers/net/netconsole.c
b/drivers/net/netconsole.c
index 66e74f7402610f5ac9ad769457f01b5254d1b27e..bf58db29e2ed6342bd707931ccd598a3c376b07c 100644
(file)
--- a/
drivers/net/netconsole.c
+++ b/
drivers/net/netconsole.c
@@
-107,7
+107,7
@@
static int init_netconsole(void)
if(!configured) {
printk("netconsole: not configured, aborting\n");
- return
-EINVAL
;
+ return
0
;
}
if(netpoll_setup(&np))