platform/chrome: lightbar: Fix lightbar_program_ex alignment
PATCH 1/1 platform/chrome: lightbar: Fix lightbar_program_ex alignment
Make sure sub-command of lightbar command starts with a 8bit parameter to ensure alignment.
Fixes 9600b8bdbfe4 ("platform/chrome: lightbar: Add support for large sequence")
Signed-off-by Gwendal Grignou <[email protected]>
--- include/linux/platform_data/cros_ec_commands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/platform_data/cros_ec_commands.h +1 -1
@@ -2026,8 +2026,8 @@ struct lightbar_program {* EC RAM. */ struct lightbar_program_ex { -uint16_t offset;uint8_t size; +uint16_t offset;uint8_t data[0 ]; } __ec_todo_unpacked;
Signature · 1 line
2.53.0.rc1.225.gd81095ad13-goog
Quoted 4 lines · Gwendal Grignou
Make sure sub-command of lightbar command starts with a 8bit parameter to ensure alignment.
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next
[1/1] platform/chrome: lightbar: Fix lightbar_program_ex alignment
commit: ff6ff0f950066fb84a6d9358614d18d7280d1b6a
Thanks!