lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240712135448.6sxgevfu7hwgkve3@skbuf>
Date: Fri, 12 Jul 2024 16:54:48 +0300
From: Vladimir Oltean <vladimir.oltean@....com>
To: Breno Leitao <leitao@...ian.org>
Cc: Madalin Bucur <madalin.bucur@....com>,
	"David S. Miller" <davem@...emloft.net>,
	Eric Dumazet <edumazet@...gle.com>,
	Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
	leit@...a.com,
	"open list:FREESCALE QORIQ DPAA ETHERNET DRIVER" <netdev@...r.kernel.org>,
	open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net-next] net: dpaa: Fix compilation Warning

On Fri, Jul 12, 2024 at 06:48:16AM -0700, Breno Leitao wrote:
> Remove variables that are defined and incremented but never read.
> This issue appeared in network tests[1] as:
> 
> 	drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c:38:6: warning: variable 'i' set but not used [-Wunused-but-set-variable]
> 	38 |         int i = 0;
> 	   |             ^
> 
> Link: https://netdev.bots.linux.dev/static/nipa/870263/13729811/build_clang/stderr [1]
> Signed-off-by: Breno Leitao <leitao@...ian.org>
> ---

Reviewed-by: Vladimir Oltean <vladimir.oltean@....com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ