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: <d4a75ccc-7965-70e3-b154-669cbe4c3db1@linux.ibm.com>
Date:   Wed, 8 Jul 2020 23:17:42 +1000
From:   Andrew Donnellan <ajd@...ux.ibm.com>
To:     Lee Jones <lee.jones@...aro.org>, arnd@...db.de,
        gregkh@...uxfoundation.org
Cc:     linux-kernel@...r.kernel.org,
        Frederic Barrat <fbarrat@...ux.ibm.com>,
        linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH 3/3] misc: cxl: flash: Remove unused variable 'drc_index'

On 8/7/20 10:57 pm, Lee Jones wrote:
> Keeping the pointer increment though.
> 
> Fixes the following W=1 kernel build warning:
> 
>   drivers/misc/cxl/flash.c: In function ‘update_devicetree’:
>   drivers/misc/cxl/flash.c:178:16: warning: variable ‘drc_index’ set but not used [-Wunused-but-set-variable]
>   178 | __be32 *data, drc_index, phandle;
>   | ^~~~~~~~~
> 
> Cc: Frederic Barrat <fbarrat@...ux.ibm.com>
> Cc: Andrew Donnellan <ajd@...ux.ibm.com>
> Cc: linuxppc-dev@...ts.ozlabs.org
> Signed-off-by: Lee Jones <lee.jones@...aro.org>

Acked-by: Andrew Donnellan <ajd@...ux.ibm.com>

-- 
Andrew Donnellan              OzLabs, ADL Canberra
ajd@...ux.ibm.com             IBM Australia Limited

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ