From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH 1/4] net/virtio-user: fix return value not checked Date: Tue, 5 Jul 2016 19:31:19 +0800 Message-ID: <20160705113119.GH26521@yliu-dev.sh.intel.com> References: <1467191137-65087-1-git-send-email-jianfeng.tan@intel.com> <1467191137-65087-2-git-send-email-jianfeng.tan@intel.com> <20160701021551.GP2831@yliu-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev@dpdk.org" , "Xie, Huawei" , "Mcnamara, John" , "Jastrzebski, MichalX K" To: "Tan, Jianfeng" Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 745385687 for ; Tue, 5 Jul 2016 13:29:56 +0200 (CEST) Content-Disposition: inline In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Jul 05, 2016 at 10:14:28AM +0000, Tan, Jianfeng wrote: > > On Wed, Jun 29, 2016 at 09:05:33AM +0000, Jianfeng Tan wrote: > > > - if (rte_kvargs_count(kvlist, VIRTIO_USER_ARG_CQ_NUM) == 1) > > > - rte_kvargs_process(kvlist, VIRTIO_USER_ARG_CQ_NUM, > > > - &get_integer_arg, &cq); > > > + if (rte_kvargs_count(kvlist, VIRTIO_USER_ARG_CQ_NUM) == 1) { > > > + ret = rte_kvargs_process(kvlist, > > VIRTIO_USER_ARG_CQ_NUM, > > > + &get_integer_arg, &cq); > > > + if (ret < 0) { > > > + PMD_INIT_LOG(ERR, "error to parse %s", > > > + VIRTIO_USER_ARG_CQ_NUM); > > > + goto end; > > > + } > > > + } > > > else if (queues > 1) > > > > Above 2 lines should be in one line. Fixed, and series applied to > > dpdk-next-virtio. > > Thanks. > > But there's another problem in the commit log: the Coverity defect ID should be "127477, 127478" instead of "127344, 127478". Can you please help make it right? Done. --yliu