Netdev List
 help / color / mirror / Atom feed
* [patch 01/17] clean up initcall warning for netconsole
@ 2006-06-02  3:32 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2006-06-02  3:32 UTC (permalink / raw)
  To: davem; +Cc: netdev, akpm, mpm


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>
---

 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))
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-02  3:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-02  3:32 [patch 01/17] clean up initcall warning for netconsole akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox