firmware: dmi: struct dmi_header should be packed
PATCH 1/1 firmware: dmi: struct dmi_header should be packed
Apparently the compiler does fine without it, but it feels safer and clearer to add the missing attribute.
Signed-off-by Jean Delvare <[email protected]>
--- include/linux/dmi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/dmi.h +1 -1
@@ -75,7 +75,7 @@ struct dmi_header {u8 type;u8 length;u16 handle; -}; +} __packed;struct dmi_device {struct list_head list;
Signature · 2 lines
Jean Delvare SUSE L3 Support