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

 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))
_
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to