From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: linux-next: build failure after merge of the virtio tree Date: Tue, 11 Dec 2012 09:11:46 +1030 Message-ID: <874njtedhx.fsf@rustcorp.com.au> References: <20121210133725.cb4a76545691b099c73c40ea@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <20121210133725.cb4a76545691b099c73c40ea@canb.auug.org.au> Sender: netdev-owner@vger.kernel.org To: Stephen Rothwell Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Jason Wang , David Miller , netdev@vger.kernel.org List-Id: linux-next.vger.kernel.org Stephen Rothwell writes: > Hi Rusty, > > After merging the virtio tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/net/virtio_net.c: In function 'vq2txq': > drivers/net/virtio_net.c:150:2: error: implicit declaration of function 'virtqueue_get_queue_index' [-Werror=implicit-function-declaration] > > Caused by commit 986a4f4d452d ("virtio_net: multiqueue support") from the > net-next tree interacting with commit 105e892960e1 ("virtio: move > queue_index and num_free fields into core struct virtqueue") from the > virtio tree. > > I applied the patch below and can carry it as necessary. Thanks for this, your fix is correct. Cheers, Rusty.