From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 58D3AA04B1; Wed, 4 Nov 2020 12:11:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 427D3C8DC; Wed, 4 Nov 2020 12:11:19 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 0AED7C8D2 for ; Wed, 4 Nov 2020 12:11:17 +0100 (CET) IronPort-SDR: ff3+GZ115HAphxNBFzifBXKY7GCGo9tQ0na4P4BOqcKWtM1zWgL/1yNOyvpydzVePqM1zBzTEU cEGYHVSz6dnQ== X-IronPort-AV: E=McAfee;i="6000,8403,9794"; a="169343812" X-IronPort-AV: E=Sophos;i="5.77,450,1596524400"; d="scan'208";a="169343812" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2020 03:11:16 -0800 IronPort-SDR: 6FWbhnwxN2AXjgr8FhRpOg3z9JI8VSwpO06rd5sY0uOHasq0hzdCHMlxmyQLcH4I8T+sTZgppv 3+/3mAebux0Q== X-IronPort-AV: E=Sophos;i="5.77,450,1596524400"; d="scan'208";a="353794437" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.228.199]) ([10.213.228.199]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2020 03:11:12 -0800 To: wangyunjian , dev@dpdk.org Cc: thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru, jerry.lilijun@huawei.com, xudingke@huawei.com References: <1604453076-34392-1-git-send-email-wangyunjian@huawei.com> From: Ferruh Yigit Message-ID: <34c087e8-1c0c-afe9-9dc3-2ec4106302cf@intel.com> Date: Wed, 4 Nov 2020 11:11:08 +0000 MIME-Version: 1.0 In-Reply-To: <1604453076-34392-1-git-send-email-wangyunjian@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] ethdev: fix check of rx configure 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 11/4/2020 1:24 AM, wangyunjian wrote: > From: Yunjian Wang > > Coverity flags that 'rx_conf' variable is used before > it's checked for NULL. This patch fixes this issue. > > Coverity issue: 363570 > Fixes: 4ff702b5dfa9 ("ethdev: introduce Rx buffer split") > > Signed-off-by: Yunjian Wang Reviewed-by: Ferruh Yigit