From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/mlx5: add missing return value check Date: Thu, 28 Mar 2019 18:28:23 +0000 Message-ID: <256192b8-a885-0813-76bc-b38abf102b15@intel.com> References: <20190321090652.32535-1-alialnu@mellanox.com> <9fa4371f-cf9d-79f8-9868-e45bd882e9c5@intel.com> <7e6eeec8-8c0c-4935-2bc9-9b07755e08ea@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Shahaf Shuler , Dekel Peled , "dev@dpdk.org" To: Ali Alnubani Return-path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 262C64F91 for ; Thu, 28 Mar 2019 19:28:27 +0100 (CET) In-Reply-To: Content-Language: en-US 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 3/28/2019 10:29 AM, Ali Alnubani wrote: > Hi Ferruh, > >> -----Original Message----- >> From: Ferruh Yigit >> Sent: Wednesday, March 27, 2019 11:31 AM >> To: Shahaf Shuler ; Dekel Peled >> ; Ali Alnubani ; >> dev@dpdk.org >> Subject: Re: [dpdk-dev] [PATCH] net/mlx5: add missing return value check >> >> On 3/25/2019 12:02 PM, Ferruh Yigit wrote: >>> On 3/24/2019 9:26 AM, Shahaf Shuler wrote: >>>> Thursday, March 21, 2019 11:34 AM, Dekel Peled: >>>>> Subject: RE: [PATCH] net/mlx5: add missing return value check >>>>> >>>>>> -----Original Message----- >>>>>> From: Ali Alnubani >>>>>> Sent: Thursday, March 21, 2019 11:07 AM >>>>>> To: dev@dpdk.org >>>>>> Cc: Shahaf Shuler ; Dekel Peled >>>>>> >>>>>> Subject: [PATCH] net/mlx5: add missing return value check >>>>>> >>>>>> Fixes: d86406b965df ("net/mlx5: support new representor naming >>>>>> format") >>>>>> Cc: dekelp@mellanox.com >>>>>> >>>>>> Signed-off-by: Ali Alnubani >>>> >>>> Applied to next-net-mlx, thanks. >>>> >>> >>> Squashed into relevant commit [1] in next-net, thanks. >>> >>> [1] >>> net/mlx5: support new representor naming format >>> >> >> 'main' repo get the original patch without squash, so can't squash now, >> merged as a incremental patch ... >> >> Applied to dpdk-next-net/master, thanks. > > A more detailed commit body: > > This patch fixes the build failure with message: > drivers/net/mlx5/mlx5_ethdev.c: In function ‘mlx5_sysfs_switch_info’: > drivers/net/mlx5/mlx5_ethdev.c:1381:3: error: ignoring return value > of ‘fscanf’, declared with attribute warn_unused_result [-Werror=unused-result] > fscanf(file, "%s", port_name); > ^ > Which reproduces on Ubuntu 16.04 LTS with > gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609. > > Fixes: b2f3a3810125 ("net/mlx5: support new representor naming format") > > Signed-off-by: Ali Alnubani > Acked-by: Viacheslav Ovsiienko > Acked-by: Dekel Peled Commit log updated in next-net as suggested, thanks.