[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <88cb0955-c7ab-e100-4048-374364610333@linux.ibm.com>
Date: Thu, 9 Jul 2020 17:08:49 +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 v2 3/3] misc: cxl: flash: Remove unused variable
'drc_index'
On 9/7/20 4:56 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