mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 20:54:03 +02:00
HID: sony: add missing __packed to struct with static_assert()
Fixes: 4b9c410e7d ("HID: sony: fix style issues")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202607091026.R9Pxd3PG-lkp@intel.com/
Signed-off-by: Rosalie Wanders <rosalie@mailbox.org>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
This commit is contained in:
parent
a1556b48ef
commit
091c05c184
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user