From: William Lee Irwin III <wli@holomorphy.com>
To: linux-kernel@vger.kernel.org
Subject: silence smp_read_mpc_oem() declared static but never defined warning
Date: Sun, 12 Oct 2003 00:36:28 -0700 [thread overview]
Message-ID: <20031012073628.GA765@holomorphy.com> (raw)
Moving the static function prototype within the calling inline silences
this annoying warning.
diff -prauN linux-2.6.0-test7-bk3/include/asm-i386/mach-numaq/mach_mpparse.h numaq-2.6.0-test7-bk3-1/include/asm-i386/mach-numaq/mach_mpparse.h
--- linux-2.6.0-test7-bk3/include/asm-i386/mach-numaq/mach_mpparse.h 2003-10-08 12:24:04.000000000 -0700
+++ numaq-2.6.0-test7-bk3-1/include/asm-i386/mach-numaq/mach_mpparse.h 2003-10-12 00:22:31.000000000 -0700
@@ -1,9 +1,6 @@
#ifndef __ASM_MACH_MPPARSE_H
#define __ASM_MACH_MPPARSE_H
-static void __init smp_read_mpc_oem(struct mp_config_oemtable *oemtable,
- unsigned short oemsize);
-
static inline void mpc_oem_bus_info(struct mpc_config_bus *m, char *name,
struct mpc_config_translation *translation)
{
@@ -27,6 +24,7 @@ static inline void mpc_oem_pci_bus(struc
static inline void mps_oem_check(struct mp_config_table *mpc, char *oem,
char *productid)
{
+ static void smp_read_mpc_oem(struct mp_config_oemtable *, unsigned short);
if (strncmp(oem, "IBM NUMA", 8))
printk("Warning! May not be a NUMA-Q system!\n");
if (mpc->mpc_oemptr)
reply other threads:[~2003-10-12 7:33 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=20031012073628.GA765@holomorphy.com \
--to=wli@holomorphy.com \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.