Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp727414ybh; Tue, 10 Mar 2020 07:12:48 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvM0gfFtuu0W26+DUAIKasposa/Zd5UftD9cmRviOB+CSTBWWI6mGQK38yucQ70wsNtdR3R X-Received: by 2002:aca:4bc6:: with SMTP id y189mr1332673oia.8.1583849568670; Tue, 10 Mar 2020 07:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583849568; cv=none; d=google.com; s=arc-20160816; b=pg7cbE6i33S/jx8todK7FJADPJQo7fE0QgggV9dustDFyy6Xx+dqphUqkPQPhHU162 EyvmhZRMQzXdxfWn2H44jwD88KSKg0AboS+jJvfHO8psKQmKvIDq/1posuZCGNlW8Bbj S45umF5jSVMdlrqFNuPr38Z/fNne5LHaazlqQSquYxudfwbIpIthZuo/PL5Aq1ia65oN LT+rWrVdKP3EbT365i7DCzrPcRxmA2DAJa9fkPKf/iUgy7LpBlPJTh7tgdEnk7AZVHge uq1gxbzNkH/v7fwa2P/x0W0xc8vyrxSJKs94rLFBOE4g87QCsrcK08SP1OZfPfNbESGN i8Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=4Dq64x4DjoKFCRaWP0RmVXxQ/yypMvRHHigI32DgfmA=; b=IDdl5yb9ktSIFhoawnIAJcWSZrroy28MaxtQDYLHcAO6nSQUXBCYF3oR8qp63kmTx/ vsafs5jCWFEYhovcUyxMDSSxqtosbgGAaJozeoE/8hIBo5qCPLAJhyCHTnUeYqElPdmQ 1L646+M2tFZXRf7z5NkQ+waXDqdhqoM6A5XAHtmQoUlDOFPCw30ptz7FcLApc0RcmquJ M2Ha74ooZLuxs0Bi61sUQN6d/VNJYybIXW4BQEK6OFqNgHj8IPht3gsXjZP6sbq/s0FZ 7BkyCPwvAu0UGqdFGkM731BlrnChOeYFpLB/ZdiWGnJkuDrsS5b1MDbNxKpy9N38uVqL mRJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=IMSgfzJY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v2si4140339oix.175.2020.03.10.07.12.25; Tue, 10 Mar 2020 07:12:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=IMSgfzJY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726986AbgCJOKP (ORCPT + 99 others); Tue, 10 Mar 2020 10:10:15 -0400 Received: from mail-il1-f193.google.com ([209.85.166.193]:40902 "EHLO mail-il1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726426AbgCJOKP (ORCPT ); Tue, 10 Mar 2020 10:10:15 -0400 Received: by mail-il1-f193.google.com with SMTP id g6so12103362ilc.7 for ; Tue, 10 Mar 2020 07:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4Dq64x4DjoKFCRaWP0RmVXxQ/yypMvRHHigI32DgfmA=; b=IMSgfzJYgymp5J//NAnPuXmv+ttIDEmyfzo3Bl/xD5bXo890r/Y+o2KMqeTHJlcpRr LHhWPmBfOOouLuWuT3Uj7HRvFT2ydIXCkZaFwsKzywxSWuEKNBetWQvDVoULEZEDm03p tRMUsriMnv8JkVwffZVVKi89BSYtpcGRODjq8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4Dq64x4DjoKFCRaWP0RmVXxQ/yypMvRHHigI32DgfmA=; b=ObiMkRQqb5cq77cKWG1fUJHaGE8Sr1r4kGJ2cmcbzKmP7rlNOztvc8PYIEpv1cgSgI FK123hCRtCRkQURdeL2MlWzeq8XsQgZDFwk+Y79HJcGwCTe0GoUOI11nLtNshr5AgOh7 Fo8T9ZUCzH3dik86ruaXqya9/eitahEURTogY3ZiK4kEfsMgxSYC18N4hKwPzDGImV5V D1jUgsuiUIUrN4wJkmMSRK7DDdKJ418C0jw7J2FZhWZXfPKiAU55FFm3SwGMPCDqsgym iCSMZqS5bJ9VW5aVIgJtfugfmPCmk2wnF3CK35UeWeldtYG7mZLVOLVUHSbaU6g/QodU nHjw== X-Gm-Message-State: ANhLgQ1fNT4BQGLwBpbUBytrxPJvuHBltmbHlp65dB0YVk5kIFbqUNtW dCRflkwR1QqdU0LoGYogiTZYwgOM9ogrjAMaBMLMrA== X-Received: by 2002:a92:aa87:: with SMTP id p7mr12249562ill.63.1583849414997; Tue, 10 Mar 2020 07:10:14 -0700 (PDT) MIME-Version: 1.0 References: <20200304165845.3081-1-vgoyal@redhat.com> <20200304165845.3081-7-vgoyal@redhat.com> In-Reply-To: <20200304165845.3081-7-vgoyal@redhat.com> From: Miklos Szeredi Date: Tue, 10 Mar 2020 15:10:04 +0100 Message-ID: Subject: Re: [PATCH 06/20] virtiofs: Provide a helper function for virtqueue initialization To: Vivek Goyal Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org, virtio-fs@redhat.com, Stefan Hajnoczi , "Dr. David Alan Gilbert" , "Michael S. Tsirkin" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 4, 2020 at 5:59 PM Vivek Goyal wrote: > > This reduces code duplication and make it little easier to read code. > > Signed-off-by: Vivek Goyal Reviewed-by: Miklos Szeredi