From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756099Ab2LNDvr (ORCPT ); Thu, 13 Dec 2012 22:51:47 -0500 Received: from ozlabs.org ([203.10.76.45]:59469 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755708Ab2LNDvq (ORCPT ); Thu, 13 Dec 2012 22:51:46 -0500 From: Rusty Russell To: Stephen Rothwell Cc: Linus , linux-next@vger.kernel.org, LKML Subject: Re: linux-next: some merging notes In-Reply-To: <20121212091552.02c72c8926f9f9147b080d68@canb.auug.org.au> References: <20121212091552.02c72c8926f9f9147b080d68@canb.auug.org.au> User-Agent: Notmuch/0.14 (http://notmuchmail.org) Emacs/23.4.1 (i686-pc-linux-gnu) Date: Fri, 14 Dec 2012 12:29:49 +1030 Message-ID: <87zk1h2y22.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stephen Rothwell writes: > The virtio tree > (git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git#virtio-next) > has a conflict with the net-next tree > (git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git#master) > that requires the following extra fix up patch: > > diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c > index 33d6f6f..8afe32d 100644 > --- a/drivers/net/virtio_net.c > +++ b/drivers/net/virtio_net.c > @@ -147,7 +147,7 @@ struct padded_vnet_hdr { > */ > static int vq2txq(struct virtqueue *vq) > { > - return (virtqueue_get_queue_index(vq) - 1) / 2; > + return (vq->index - 1) / 2; > } > > static int txq2vq(int txq) > @@ -157,7 +157,7 @@ static int txq2vq(int txq) > > static int vq2rxq(struct virtqueue *vq) > { > - return virtqueue_get_queue_index(vq) / 2; > + return vq->index / 2; > } I had to fold in a fix to another commit, so I also altered the commit which removed virtqueue_get_queue_index(). I'll remove it next time. I'll give it a couple of days in -next to be sure. Thanks, Rusty.