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] [day] [month] [year] [list]
Date:   Fri, 03 Jan 2020 12:33:13 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     yukuai3@...wei.com
Cc:     netanel@...zon.com, saeedb@...zon.com, zorik@...zon.com,
        ast@...nel.org, daniel@...earbox.net, jakub.kicinski@...ronome.com,
        hawk@...nel.org, john.fastabend@...il.com, sameehj@...zon.com,
        akiyano@...zon.com, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org, bpf@...r.kernel.org,
        yi.zhang@...wei.com, zhengbin13@...wei.com
Subject: Re: [PATCH] net: ena: remove set but not used variable 'rx_ring'

From: yu kuai <yukuai3@...wei.com>
Date: Fri, 3 Jan 2020 20:07:01 +0800

> Fixes gcc '-Wunused-but-set-variable' warning:
> 
> drivers/net/ethernet/amazon/ena/ena_netdev.c: In function
> ‘ena_xdp_xmit_buff’:
> drivers/net/ethernet/amazon/ena/ena_netdev.c:316:19: warning:
> variable ‘rx_ring’ set but not used [-Wunused-but-set-variable]
> 
> It is never used, and so can be removed.
> 
> Signed-off-by: yu kuai <yukuai3@...wei.com>

Does not apply to net-next.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ