Skip to contentSkip to conversation

clean up initcall warning for netconsole

PATCH In review [email protected] 1 participant 1 message Jun 2, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/17 clean up initcall warning for netconsole

From: Matt Mackall <[email protected]>

netconsole is being wrong here. If it wasn't enabled there's no error.

---

 drivers/net/netconsole.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/netconsole.c renamed from drivers/net/netconsole.c~clean-up-initcall-warning-for-netconsole +1 -1
diff -puN drivers/net/netconsole.c~clean-up-initcall-warning-for-netconsole 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))

_