Re: [2.6 patch] drivers/pci/msi.c: move arch hooks to the top

2007-12-11 Thread Michael Ellerman
On Wed, 2007-12-12 at 00:00 +0100, Adrian Bunk wrote: > On Wed, Dec 12, 2007 at 09:44:10AM +1100, Michael Ellerman wrote: > > On Tue, 2007-12-11 at 23:19 +0100, Adrian Bunk wrote: > > > This patch fixes the following problem present with older gcc versions: > > > > > > <-- snip --> > > > > > >

Re: [2.6 patch] drivers/pci/msi.c: move arch hooks to the top

2007-12-11 Thread Adrian Bunk
On Wed, Dec 12, 2007 at 09:44:10AM +1100, Michael Ellerman wrote: > On Tue, 2007-12-11 at 23:19 +0100, Adrian Bunk wrote: > > This patch fixes the following problem present with older gcc versions: > > > > <-- snip --> > > > > ... > > CC drivers/pci/msi.o > > /home/bunk/linux/kernel-2.6/

Re: [2.6 patch] drivers/pci/msi.c: move arch hooks to the top

2007-12-11 Thread Michael Ellerman
On Tue, 2007-12-11 at 23:19 +0100, Adrian Bunk wrote: > This patch fixes the following problem present with older gcc versions: > > <-- snip --> > > ... > CC drivers/pci/msi.o > /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/pci/msi.c:692: warning: > weak declaration of `arch_msi_che

[2.6 patch] drivers/pci/msi.c: move arch hooks to the top

2007-12-11 Thread Adrian Bunk
This patch fixes the following problem present with older gcc versions: <-- snip --> ... CC drivers/pci/msi.o /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/pci/msi.c:692: warning: weak declaration of `arch_msi_check_device' after first use results in unspecified behavior /home/bunk