* 2.6.9-rc1-mm5 compile errors
@ 2004-09-13 16:35 Badari Pulavarty
2004-09-13 17:07 ` Paul Jackson
2004-09-13 17:30 ` Anton Blanchard
0 siblings, 2 replies; 5+ messages in thread
From: Badari Pulavarty @ 2004-09-13 16:35 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
Hi Andrew,
I get following compile errors on PPC64 (P3) box while trying
to build 2.6.9-rc1-mm5.
Are these known/fixed ?
Thanks,
Badari
mm/mempolicy.c: In function `get_zonemask':
mm/mempolicy.c:419: error: `maxnode' undeclared (first use in this
function)
mm/mempolicy.c:419: error: (Each undeclared identifier is reported only
once
mm/mempolicy.c:419: error: for each function it appears in.)
arch/ppc64/kernel/pSeries_pci.c: In function `pcibios_fixup_bus':
arch/ppc64/kernel/pSeries_pci.c:607: error: redeclaration of `dev'
arch/ppc64/kernel/pSeries_pci.c:604: error: `dev' previously declared
here
arch/ppc64/kernel/pSeries_pci.c:604: warning: unused variable `dev'
make[1]: *** [arch/ppc64/kernel/pSeries_pci.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [mm/mempolicy.o] Error 1
make: *** [mm] Error 2
make: *** Waiting for unfinished jobs....
arch/ppc64/kernel/pSeries_htab.c: In function
`pSeries_hpte_updateboltedpp':
arch/ppc64/kernel/pSeries_htab.c:243: warning: `flags' might be used
uninitialized in this function
arch/ppc64/kernel/prom.c: In function `map_interrupt':
arch/ppc64/kernel/prom.c:1808: warning: `newintrc' might be used
uninitialized in this function
arch/ppc64/kernel/prom.c:1808: warning: `newaddrc' might be used
uninitialized in this function
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.9-rc1-mm5 compile errors
2004-09-13 16:35 2.6.9-rc1-mm5 compile errors Badari Pulavarty
@ 2004-09-13 17:07 ` Paul Jackson
2004-09-13 18:22 ` Badari Pulavarty
2004-09-13 17:30 ` Anton Blanchard
1 sibling, 1 reply; 5+ messages in thread
From: Paul Jackson @ 2004-09-13 17:07 UTC (permalink / raw)
To: Badari Pulavarty; +Cc: akpm, linux-kernel
For this error:
mm/mempolicy.c: In function `get_zonemask':
mm/mempolicy.c:419: error: `maxnode' undeclared (first use in this function)
mm/mempolicy.c:419: error: (Each undeclared identifier is reported only once
mm/mempolicy.c:419: error: for each function it appears in.)
See my fix on posted 4 hours ago on lkml:
Subject: [PATCH] undo more numa maxnode confusions
Date: Mon, 13 Sep 2004 05:58:48 -0700
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.650.933.1373
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.9-rc1-mm5 compile errors
2004-09-13 16:35 2.6.9-rc1-mm5 compile errors Badari Pulavarty
2004-09-13 17:07 ` Paul Jackson
@ 2004-09-13 17:30 ` Anton Blanchard
2004-09-13 18:22 ` Badari Pulavarty
1 sibling, 1 reply; 5+ messages in thread
From: Anton Blanchard @ 2004-09-13 17:30 UTC (permalink / raw)
To: Badari Pulavarty; +Cc: akpm, linux-kernel
Hi,
> arch/ppc64/kernel/pSeries_pci.c: In function `pcibios_fixup_bus':
> arch/ppc64/kernel/pSeries_pci.c:607: error: redeclaration of `dev'
> arch/ppc64/kernel/pSeries_pci.c:604: error: `dev' previously declared
> here
> arch/ppc64/kernel/pSeries_pci.c:604: warning: unused variable `dev'
I sent this to Andrew earlier.
Anton
diff -puN arch/ppc64/kernel/pSeries_pci.c~fix_pseries arch/ppc64/kernel/pSeries_pci.c
--- 2.6.9-rc1-mm5/arch/ppc64/kernel/pSeries_pci.c~fix_pseries 2004-09-13 19:58:29.941874428 +1000
+++ 2.6.9-rc1-mm5-anton/arch/ppc64/kernel/pSeries_pci.c 2004-09-13 19:59:21.967773089 +1000
@@ -601,7 +601,6 @@ EXPORT_SYMBOL(pcibios_fixup_device_resou
void __devinit pcibios_fixup_bus(struct pci_bus *bus)
{
struct pci_controller *hose = PCI_GET_PHB_PTR(bus);
- struct pci_dev *dev;
/* XXX or bus->parent? */
struct pci_dev *dev = bus->self;
_
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.9-rc1-mm5 compile errors
2004-09-13 17:07 ` Paul Jackson
@ 2004-09-13 18:22 ` Badari Pulavarty
0 siblings, 0 replies; 5+ messages in thread
From: Badari Pulavarty @ 2004-09-13 18:22 UTC (permalink / raw)
To: Paul Jackson; +Cc: akpm, linux-kernel
Got it. Worked fine.
Thanks,
Badari
On Mon, 2004-09-13 at 10:07, Paul Jackson wrote:
> For this error:
>
> mm/mempolicy.c: In function `get_zonemask':
> mm/mempolicy.c:419: error: `maxnode' undeclared (first use in this function)
> mm/mempolicy.c:419: error: (Each undeclared identifier is reported only once
> mm/mempolicy.c:419: error: for each function it appears in.)
>
> See my fix on posted 4 hours ago on lkml:
>
> Subject: [PATCH] undo more numa maxnode confusions
> Date: Mon, 13 Sep 2004 05:58:48 -0700
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.9-rc1-mm5 compile errors
2004-09-13 17:30 ` Anton Blanchard
@ 2004-09-13 18:22 ` Badari Pulavarty
0 siblings, 0 replies; 5+ messages in thread
From: Badari Pulavarty @ 2004-09-13 18:22 UTC (permalink / raw)
To: Anton Blanchard; +Cc: akpm, linux-kernel
Yep. Need this.
Thanks,
Badari
On Mon, 2004-09-13 at 10:30, Anton Blanchard wrote:
> Hi,
>
> > arch/ppc64/kernel/pSeries_pci.c: In function `pcibios_fixup_bus':
> > arch/ppc64/kernel/pSeries_pci.c:607: error: redeclaration of `dev'
> > arch/ppc64/kernel/pSeries_pci.c:604: error: `dev' previously declared
> > here
> > arch/ppc64/kernel/pSeries_pci.c:604: warning: unused variable `dev'
>
> I sent this to Andrew earlier.
>
> Anton
>
> diff -puN arch/ppc64/kernel/pSeries_pci.c~fix_pseries arch/ppc64/kernel/pSeries_pci.c
> --- 2.6.9-rc1-mm5/arch/ppc64/kernel/pSeries_pci.c~fix_pseries 2004-09-13 19:58:29.941874428 +1000
> +++ 2.6.9-rc1-mm5-anton/arch/ppc64/kernel/pSeries_pci.c 2004-09-13 19:59:21.967773089 +1000
> @@ -601,7 +601,6 @@ EXPORT_SYMBOL(pcibios_fixup_device_resou
> void __devinit pcibios_fixup_bus(struct pci_bus *bus)
> {
> struct pci_controller *hose = PCI_GET_PHB_PTR(bus);
> - struct pci_dev *dev;
>
> /* XXX or bus->parent? */
> struct pci_dev *dev = bus->self;
> _
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-09-13 18:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-13 16:35 2.6.9-rc1-mm5 compile errors Badari Pulavarty
2004-09-13 17:07 ` Paul Jackson
2004-09-13 18:22 ` Badari Pulavarty
2004-09-13 17:30 ` Anton Blanchard
2004-09-13 18:22 ` Badari Pulavarty
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.