lkml.org 
[lkml]   [2009]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -next] k8.h: add struct bootnode
On Wed, 28 Oct 2009, Randy Dunlap wrote:

> 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>

Acked-by: David Rientjes <rientjes@google.com>

This is probably my fault originating from my patchset in Ingo's x86/mm
tree with some unexpected config option combination. Thanks Randy!

> ---
> 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;


\
 
 \ /
  Last update: 2009-10-29 10:35    [W:0.053 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site