Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752653AbaLAIGd (ORCPT ); Mon, 1 Dec 2014 03:06:33 -0500 Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:49061 "EHLO e06smtp15.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752333AbaLAIGc (ORCPT ); Mon, 1 Dec 2014 03:06:32 -0500 Date: Mon, 1 Dec 2014 09:06:18 +0100 From: David Hildenbrand To: "Michael S. Tsirkin" Cc: linux-kernel@vger.kernel.org, David Miller , cornelia.huck@de.ibm.com, rusty@au1.ibm.com, nab@linux-iscsi.org, pbonzini@redhat.com, thuth@linux.vnet.ibm.com, Rusty Russell , virtualization@lists.linux-foundation.org Subject: Re: [PATCH v7 13/46] virtio: simplify feature bit handling Message-ID: <20141201090618.3ca35baa@thinkpad-w530> In-Reply-To: <1417359787-10138-14-git-send-email-mst@redhat.com> References: <1417359787-10138-1-git-send-email-mst@redhat.com> <1417359787-10138-14-git-send-email-mst@redhat.com> Organization: IBM Deutschland GmbH X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.24; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14120108-0021-0000-0000-000001F8011F Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Now that we use u64 for bits, we can simply & them together. > > Signed-off-by: Michael S. Tsirkin > --- > drivers/virtio/virtio.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > Reviewed-by: David Hildenbrand -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/