From: "Martin J. Bligh" <mbligh@aracnet.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Andrew Morton <akpm@digeo.com>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] remove compile warning from serial console initcall
Date: Sat, 08 Mar 2003 15:06:55 -0800 [thread overview]
Message-ID: <469810000.1047164815@[10.10.2.4]> (raw)
This tiny patch removes the new compiler warning from my build -
the new console_initcall mechanism seems to require int from
console_init ... I made serial8250_console_init look like con_init
diff -urpN -X /home/fletch/.diff.exclude 900-mjb2/drivers/serial/8250.c 999-serial_fix/drivers/serial/8250.c
--- 900-mjb2/drivers/serial/8250.c Sat Mar 8 12:54:04 2003
+++ 999-serial_fix/drivers/serial/8250.c Sat Mar 8 14:48:20 2003
@@ -1982,10 +1982,11 @@ static struct console serial8250_console
.index = -1,
};
-static void __init serial8250_console_init(void)
+static int __init serial8250_console_init(void)
{
serial8250_isa_init_ports();
register_console(&serial8250_console);
+ return 0;
}
console_initcall(serial8250_console_init);
reply other threads:[~2003-03-08 22:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='469810000.1047164815@[10.10.2.4]' \
--to=mbligh@aracnet.com \
--cc=akpm@digeo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®