From: David Howells Subject: Re: [PATCH] virtio_pci: fix macro exported in uapi Date: Mon, 20 May 2013 10:06:56 +0100 Message-ID: <1032.1369040816@warthog.procyon.org.uk> References: <87r4h2zf5y.fsf@rustcorp.com.au> <87wqqy8o2k.fsf@rustcorp.com.au> <20130516164446.GA32007@redhat.com> <32418.1368781063@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, "Michael S. Tsirkin" , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, dhowells@redhat.com, Dave Jones , Paolo Bonzini , Stephen Hemminger , "Paul E. McKenney" , Thomas Gleixner To: Rusty Russell Return-path: In-Reply-To: <87r4h2zf5y.fsf@rustcorp.com.au> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org List-Id: kvm.vger.kernel.org Rusty Russell 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