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

From: Jesse Barnes
Date: Fri Jul 16 2010 - 11:50:29 EST


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 thought this was supposed to go via the virtualization tree... But I
can pick it up and try to send to Linus.

--
Jesse Barnes, Intel Open Source Technology Center
--
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/