projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.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
<mpm@selenic.com>
Mon, 5 Jun 2006 22:04:37 +0000
(15:04 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 5 Jun 2006 22:04:37 +0000
(15:04 -0700)
From: Matt Mackall <mpm@selenic.com>
netconsole is being wrong here. If it wasn't enabled there's no error.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netconsole.c
patch
|
blob
|
blame
|
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))