public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle•com>
To: Stephen Rothwell <sfr@canb•auug.org.au>, x86@kernel•org
Cc: linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>
Subject: [PATCH -next] k8.h: add struct bootnode
Date: Wed, 28 Oct 2009 16:09:55 -0700	[thread overview]
Message-ID: <20091028160955.d27ccb16.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20091028190643.627f10aa.sfr@canb.auug.org.au>

From: Randy Dunlap <randy.dunlap@oracle•com>

k8.h uses struct bootnode but does not #include a header file
for it, so provide a simple declaration for it.

arch/x86/include/asm/k8.h:13: warning: 'struct bootnode' declared inside parameter list
arch/x86/include/asm/k8.h:13: warning: its scope is only this definition or declaration, which is probably not what you want

Signed-off-by: Randy Dunlap <randy.dunlap@oracle•com>
---
 arch/x86/include/asm/k8.h |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20091028.orig/arch/x86/include/asm/k8.h
+++ linux-next-20091028/arch/x86/include/asm/k8.h
@@ -4,6 +4,7 @@
 #include <linux/pci.h>
 
 extern struct pci_device_id k8_nb_ids[];
+struct bootnode;
 
 extern int early_is_k8_nb(u32 value);
 extern struct pci_dev **k8_northbridges;

  parent reply	other threads:[~2009-10-28 23:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-28  8:06 linux-next: Tree for October 28 Stephen Rothwell
2009-10-28 17:49 ` [PATCH -next] tpm: fix header for modular build Randy Dunlap
2009-10-28 23:08 ` [PATCH -next] wireless: airo_cs needs WEXT_SPY Randy Dunlap
2009-10-28 23:09 ` Randy Dunlap [this message]
2009-10-29  9:31   ` [PATCH -next] k8.h: add struct bootnode David Rientjes

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=20091028160955.d27ccb16.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=sfr@canb$(echo .)auug.org.au \
    --cc=x86@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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