From: Peter Hagervall <hager@cs.umu.se>
To: linux-kernel@vger.kernel.org
Cc: torvalds@osdl.org
Subject: [PATCH] arch/i386/kernel/apic.c Kill a sparse warning
Date: Tue, 1 Feb 2005 17:10:46 +0100 [thread overview]
Message-ID: <20050201161046.GD155@peppar.cs.umu.se> (raw)
The following patch replaces a K&R-style function definition with its
ANSI counterpart.
diff -u linux-bk/arch/i386/kernel/apic.c linux/arch/i386/kernel/apic.c
--- linux-bk/arch/i386/kernel/apic.c 2005-01-29 03:14:14.000000000 +0100
+++ linux/arch/i386/kernel/apic.c 2005-01-29 03:16:35.000000000 +0100
@@ -518,8 +518,7 @@
* disable it down before re-entering the BIOS on shutdown.
* Otherwise the BIOS may get confused and not power-off.
*/
-void
-lapic_shutdown()
+void lapic_shutdown(void)
{
if (!cpu_has_apic || !enabled_via_apicbase)
return;
--
Peter Hagervall......................email: hager@cs.umu.se
Department of Computing Science........tel: +46(0)90 786 7018
University of Umeå, SE-901 87 Umeå.....fax: +46(0)90 786 6126
reply other threads:[~2005-02-01 16:10 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=20050201161046.GD155@peppar.cs.umu.se \
--to=hager@cs.umu.se \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/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®