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] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 15 Sep 2020 10:02:49 +0100
From:   Edward Cree <>
To:     Jesse Brandeburg <>,
CC:     <>
Subject: Re: [PATCH net-next v2 04/10] drivers/net/ethernet: clean up unused

On 15/09/2020 02:44, Jesse Brandeburg wrote:
> As part of the W=1 compliation series, these lines all created
> warnings about unused variables that were assigned a value. Most
> of them are from register reads, but some are just picking up
> a return value from a function and never doing anything with it.
> The register reads should be OK, because the current
> implementation of readl and friends will always execute even
> without an lvalue.
> When it makes sense, just remove the lvalue assignment and the
> local. Other times, just remove the offending code, and
> occasionally, just mark the variable as maybe unused since it
> could be used in an ifdef or debug scenario.
> Only compile tested with W=1.
> Signed-off-by: Jesse Brandeburg <>
For sfc/falcon:
Acked-by: Edward Cree <>

Powered by blists - more mailing lists