Messages in this thread |  | | Subject | Re: [PATCH v2 3/3] misc: cxl: flash: Remove unused variable 'drc_index' | From | Andrew Donnellan <> | Date | Thu, 9 Jul 2020 17:08:49 +1000 |
| |
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@linux.ibm.com> > Cc: Andrew Donnellan <ajd@linux.ibm.com> > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
-- Andrew Donnellan OzLabs, ADL Canberra ajd@linux.ibm.com IBM Australia Limited
|  |