[patch 01/17] clean up initcall warning for netconsole
From: <hidden>
Date: 2006-06-02 03:28:08
From: <hidden>
Date: 2006-06-02 03:28:08
From: Matt Mackall <redacted> netconsole is being wrong here. If it wasn't enabled there's no error. Signed-off-by: Andrew Morton <redacted> --- drivers/net/netconsole.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/net/netconsole.c~clean-up-initcall-warning-for-netconsole drivers/net/netconsole.c
--- devel/drivers/net/netconsole.c~clean-up-initcall-warning-for-netconsole 2006-06-01 20:31:49.000000000 -0700
+++ devel-akpm/drivers/net/netconsole.c 2006-06-01 20:31:49.000000000 -0700@@ -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))
_