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]
Message-Id: <20200914.134226.1104841002281941355.davem@davemloft.net>
Date:   Mon, 14 Sep 2020 13:42:26 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     zhangchangzhong@...wei.com
Cc:     kuba@...nel.org, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: dnet: remove unused variable 'tx_status
 'in dnet_start_xmit()

From: Zhang Changzhong <zhangchangzhong@...wei.com>
Date: Mon, 14 Sep 2020 21:08:37 +0800

> Fixes the following W=1 kernel build warning(s):
> 
> drivers/net/ethernet/dnet.c:510:6: warning:
>  variable 'tx_status' set but not used [-Wunused-but-set-variable]
>   u32 tx_status, irq_enable;
>       ^~~~~~~~~
> 
> After commit 4796417417a6 ("dnet: Dave DNET ethernet controller driver
> (updated)"), variable 'tx_status' is never used in dnet_start_xmit(),
> so removing it to avoid build warning.
> 
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Zhang Changzhong <zhangchangzhong@...wei.com>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ