From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id B11D3FA36 for ; Tue, 17 Jan 2017 05:07:39 +0100 (CET) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP; 16 Jan 2017 20:07:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,242,1477983600"; d="scan'208";a="54052375" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by fmsmga005.fm.intel.com with ESMTP; 16 Jan 2017 20:07:37 -0800 Date: Tue, 17 Jan 2017 12:09:49 +0800 From: Yuanhan Liu To: Stephen Hemminger Cc: Jianfeng Tan , dev@dpdk.org, lei.a.yao@intel.com Message-ID: <20170117040949.GI10293@yliu-dev.sh.intel.com> References: <1480810702-114815-1-git-send-email-jianfeng.tan@intel.com> <1484578022-92705-1-git-send-email-jianfeng.tan@intel.com> <1484578022-92705-4-git-send-email-jianfeng.tan@intel.com> <20170116111603.4f21a9fd@xeon-e3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170116111603.4f21a9fd@xeon-e3> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v3 03/10] net/virtio: add Rx descriptor check X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 04:07:40 -0000 On Mon, Jan 16, 2017 at 11:16:03AM -0800, Stephen Hemminger wrote: > On Mon, 16 Jan 2017 14:46:55 +0000 > Jianfeng Tan wrote: > > > + return (VIRTQUEUE_NUSED(vq) >= offset); > > Unneeded parenthesis in return statement. > This is a style thing, Linux folks see it as unnecessary. BSD folks like it I will remove them while apply. Thanks. --yliu