From 091c05c184f3a75a275ccc7ae29e17125dfaa661 Mon Sep 17 00:00:00 2001 From: Rosalie Wanders Date: Thu, 9 Jul 2026 16:12:03 +0200 Subject: [PATCH] HID: sony: add missing __packed to struct with static_assert() Fixes: 4b9c410e7d6d ("HID: sony: fix style issues") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202607091026.R9Pxd3PG-lkp@intel.com/ Signed-off-by: Rosalie Wanders Signed-off-by: Jiri Kosina --- drivers/hid/hid-sony.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index e75246d29e16..5a7ab08cb825 100644 --- a/drivers/hid/hid-sony.c +++ b/drivers/hid/hid-sony.c @@ -503,7 +503,7 @@ struct motion_output_report_02 { u8 r, g, b; u8 zero2; u8 rumble; -}; +} __packed; static_assert(sizeof(struct motion_output_report_02) == 7); #define SIXAXIS_REPORT_0xF2_SIZE 17