Hi Arnd, On Mon, Dec 04, 2017 at 03:49:48PM +0100, Arnd Bergmann wrote: > As gcc-8 reports, we zero out the wrong byte: > > drivers/platform/chrome/cros_ec_sysfs.c: In function 'show_ec_version': > drivers/platform/chrome/cros_ec_sysfs.c:190:12: error: array subscript 4294967295 is above array bounds of 'uint8_t[]' [-Werror=array-bounds] > > This changes the code back to what it did before changing to a > zero-length array structure. > > Fixes: a841178445bb ("mfd: cros_ec: Use a zero-length array for command data") > Signed-off-by: Arnd Bergmann Applied. Thanks! Benson -- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org