Re: [PATCH repost] pci: fix compilation when CONFIG_PCI_MSI=n

From: Michael S. Tsirkin
Date: Mon Jul 19 2010 - 06:48:04 EST


On Fri, Jul 16, 2010 at 12:06:03PM -0700, Jesse Barnes wrote:
> On Fri, 16 Jul 2010 17:20:50 +0300
> "Michael S. Tsirkin" <mst@xxxxxxxxxx> wrote:
>
> > vers/pci/pci.c:2277: error: redefinition of âpci_msi_offâ
> > include/linux/pci.h:786: note: previous definition of âpci_msi_offâ was here
> >
> > No need for ifdef: we must disable the capability at startup even if the
> > current kernel does not support MSI, otherwise the device won't work.
> >
> > Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
> > ---
> >
> > Looks like I didn't tag this old patch of mine clearly enough
> > so it's still not fixed in -rc5.
> > It's late in the cycle, but the patch is trivial
> > and it's a build fix, so ... please consider for 2.6.35.
>
> I don't see the same context in the current tree. So this patch must
> be against the virtualization tree I guess?

Yes, looks like it got fixed in the virtualization tree.
Thanks,
MST
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/