greybus: firmware: s/_LEN/_SIZE
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 11 Aug 2016 20:27:23 +0000 (13:27 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 12 Aug 2016 15:38:19 +0000 (17:38 +0200)
commitb2abeaa10d5711e7730bb07120dd60ae27d7b930
tree5bca52c2b995b9c07638ac83a6090c15f646ae8d
parent769cb83704db127119d063b55091f782007368e7
greybus: firmware: s/_LEN/_SIZE

Alex Elder pointed out that the macros also count the trailing NULL
('\0') character and so it should be using SIZE instead of LEN.

This patch makes that change.

Reported-by: Alex Elder <alex.elder@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Documentation/firmware/firmware-management
drivers/staging/greybus/Documentation/firmware/firmware.c
drivers/staging/greybus/firmware.h
drivers/staging/greybus/fw-download.c
drivers/staging/greybus/fw-management.c
drivers/staging/greybus/greybus_firmware.h
drivers/staging/greybus/greybus_protocols.h