Commit 9ea650c8 authored by Jean Delvare's avatar Jean Delvare

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: default avatarJean Delvare <jdelvare@suse.de>
parent d1d8704c
...@@ -75,7 +75,7 @@ struct dmi_header { ...@@ -75,7 +75,7 @@ struct dmi_header {
u8 type; u8 type;
u8 length; u8 length;
u16 handle; u16 handle;
}; } __packed;
struct dmi_device { struct dmi_device {
struct list_head list; struct list_head list;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment