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 <fbar...@linux.ibm.com>
Cc: Andrew Donnellan <a...@linux.ibm.com>
Cc: linuxppc-...@lists.ozlabs.org
Signed-off-by: Lee Jones <lee.jo...@linaro.org>

Acked-by: Andrew Donnellan <a...@linux.ibm.com>

--
Andrew Donnellan              OzLabs, ADL Canberra
a...@linux.ibm.com             IBM Australia Limited

Reply via email to