Re: [PATCH] virtio_pci: fix macro exported in uapi

From: David Howells
Date: Mon May 20 2013 - 05:07:20 EST


Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:

> The point of the patch is that it's unusable:
>
> #define VIRTIO_PCI_CONFIG(dev) ((dev)->msix_enabled ? 24 : 20)
>
> ie. it's accessing a member of the kernel's virtio_pci_dev structure.

Ah, okay. In that case, zap it and see if anyone complains.

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