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  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sun, 20 Sep 2020 14:18:22 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     zhangchangzhong@...wei.com
Cc:     thomas.petazzoni@...tlin.com, kuba@...nel.org,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: mventa: remove unused variable 'dummy'
 in mvneta_mib_counters_clear()

From: Zhang Changzhong <zhangchangzhong@...wei.com>
Date: Sat, 19 Sep 2020 10:26:51 +0800

> Fixes the following W=1 kernel build warning(s):
> 
> drivers/net/ethernet/marvell/mvneta.c:754:6: warning:
>  variable 'dummy' set but not used [-Wunused-but-set-variable]
>   754 |  u32 dummy;
>       |      ^~~~~
> 
> This variable is not used in function mvneta_mib_counters_clear(), so
> remove it to avoid build warning.
> 
> Signed-off-by: Zhang Changzhong <zhangchangzhong@...wei.com>

Applied.

Powered by blists - more mailing lists