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 EDE22A0093; Mon, 18 May 2020 16:53:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CB2031D515; Mon, 18 May 2020 16:53:05 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id C5DEE1D171 for ; Mon, 18 May 2020 16:53:04 +0200 (CEST) IronPort-SDR: 4iDclPu9FkU3aUsdi69eH5bqVxoClAxgt6iUR14VutMp4cz57Fcsq6CPNVeODSAloDop6MNMmg xMaKJuEMNqTg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2020 07:53:02 -0700 IronPort-SDR: 8kfXpJcYtrr9CwQxm0Qje2j3R6rQovMYUb/9vIoRAhTJClSspUyUhWMwLwvWBXE5BEV3e52hlI 0rt4qy1woItA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,407,1583222400"; d="scan'208";a="465602709" Received: from klaatz-mobl1.ger.corp.intel.com (HELO [10.252.4.195]) ([10.252.4.195]) by fmsmga005.fm.intel.com with ESMTP; 18 May 2020 07:53:01 -0700 To: Ciara Power , bruce.richardson@intel.com Cc: dev@dpdk.org References: <20200512152902.70211-1-ciara.power@intel.com> <20200512152902.70211-5-ciara.power@intel.com> From: "Laatz, Kevin" Message-ID: <5c72e47c-067e-eb72-a2a9-d5792f628e6e@intel.com> Date: Mon, 18 May 2020 15:53:00 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200512152902.70211-5-ciara.power@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH 4/5] telemetry: fix checking error return for socket creation 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 12/05/2020 16:29, Ciara Power wrote: > The return value from the socket function is now checked, as it can > return a negative value on error. > > Coverity issue: 358443 > Fixes: b80fe1805eee ("telemetry: introduce backward compatibility") > Cc: ciara.power@intel.com > > Signed-off-by: Ciara Power > --- > lib/librte_telemetry/telemetry_legacy.c | 4 ++++ > 1 file changed, 4 insertions(+) > Acked-by: Kevin Laatz