Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

HID: fix hid_device_id for cross compiling

struct hid_device_id contains hidden padding which is bad for cross
compiling. Make the padding explicit and consistent across
architectures.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

authored by

Andreas Schwab and committed by
Jiri Kosina
8175fe2d b170060c

+1
+1
include/linux/mod_devicetable.h
··· 135 135 136 136 struct hid_device_id { 137 137 __u16 bus; 138 + __u16 pad1; 138 139 __u32 vendor; 139 140 __u32 product; 140 141 kernel_ulong_t driver_data