Received: from eggs.gnu.org ([2001:4830:134:3::10]:55674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKR3s-0000NP-EC for qemu-devel@nongnu.org; Wed, 29 Jul 2015 09:06:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKR3p-00070R-5l for qemu-devel@nongnu.org; Wed, 29 Jul 2015 09:06:20 -0400 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:47667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKR3o-000702-Sd for qemu-devel@nongnu.org; Wed, 29 Jul 2015 09:06:17 -0400 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 29 Jul 2015 14:06:13 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 808BF1B0805F for ; Wed, 29 Jul 2015 14:07:20 +0100 (BST) Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t6TD60Ed23330940 for ; Wed, 29 Jul 2015 13:06:00 GMT Received: from d06av11.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t6TD5xcp002013 for ; Wed, 29 Jul 2015 07:06:00 -0600 Date: Wed, 29 Jul 2015 15:05:58 +0200 From: Cornelia Huck Message-ID: <20150729150558.6e916d65.cornelia.huck@de.ibm.com> In-Reply-To: <683562692.328057.1438173788965.JavaMail.zimbra@redhat.com> References: <1438172567-28227-1-git-send-email-cornelia.huck@de.ibm.com> <683562692.328057.1438173788965.JavaMail.zimbra@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-2.5] virtio: avoid leading underscores for helpers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: qemu-devel@nongnu.org, mst@redhat.com On Wed, 29 Jul 2015 08:43:08 -0400 (EDT) Thomas Huth wrote: > On Wednesday, July 29, 2015 2:22:47 PM, "Cornelia Huck" > wrote: > > > > Commit ef546f1275f6563e8934dd5e338d29d9f9909ca6 ("virtio: add > > feature checking helpers") introduced a helper __virtio_has_feature. > > We don't want to use reserved identifiers, though, so let's > > rename __virtio_has_feature to virtio_has_feature and virtio_has_feature > > to virtio_vdev_has_feature. > > "virtio_vdev_has_feature" is already a little bit long ... but I also fail > come up with a better name, maybe "virtio_vdev_has_feat" ? Yeah, I also failed to come up with a shorter name that still conveys the relationship with virtio_has_feature... > > Anyway, the patch also looks fine to me with the long name, so: > > Reviewed-by: Thomas Huth > Thanks!