From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 9E40B1B3C2; Fri, 10 Nov 2017 10:39:12 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP; 10 Nov 2017 01:39:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,373,1505804400"; d="scan'208";a="507973" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.254.21.79]) ([10.254.21.79]) by FMSMGA003.fm.intel.com with ESMTP; 10 Nov 2017 01:39:11 -0800 To: Alejandro Lucero , dev@dpdk.org Cc: stable@dpdk.org References: <1510143588-10092-1-git-send-email-alejandro.lucero@netronome.com> From: Ferruh Yigit Message-ID: <51e28a9b-1fd4-6788-0d7c-29548872610f@intel.com> Date: Fri, 10 Nov 2017 01:39:10 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1510143588-10092-1-git-send-email-alejandro.lucero@netronome.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH] net/nfp: check function return value X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2017 09:39:13 -0000 On 11/8/2017 4:19 AM, Alejandro Lucero wrote: > The fstat function could return a value that indicates an error condition. > If this is not checked, the error condition may not be handled correctly. > > Fixes: f37d8a4b67b2 ("net/nfp: add NSP FW upload command") > Coverity: 195019 > > Signed-off-by: Alejandro Lucero Applied to dpdk/master, thanks.