mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
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 <jdelvare@suse.de>
This commit is contained in:
parent
d1d8704c48
commit
9ea650c804
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ struct dmi_header {
|
|||
u8 type;
|
||||
u8 length;
|
||||
u16 handle;
|
||||
};
|
||||
} __packed;
|
||||
|
||||
struct dmi_device {
|
||||
struct list_head list;
|
||||
|
|
Loading…
Reference in a new issue