Commit 31784249 authored by Andrew Morton's avatar Andrew Morton Committed by Jeff Garzik

[PATCH] netconsole warning fix

drivers/net/netconsole.c:99: warning: initialization from incompatible pointer type
parent 77896922
......@@ -91,9 +91,10 @@ static struct console netconsole = {
.write = write_msg
};
static void option_setup(char *opt)
static int option_setup(char *opt)
{
configured = !netpoll_parse_options(&np, opt);
return 0;
}
__setup("netconsole=", option_setup);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment