summaryrefslogtreecommitdiff
path: root/include/linux/dmi.h
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2015-06-25 09:06:57 +0200
committerJean Delvare <jdelvare@suse.de>2015-06-25 09:06:57 +0200
commit9ea650c804404e55dbf17c928203141282e759ab (patch)
tree37f04c379d15b4a989a798b9ca42b97b96b029df /include/linux/dmi.h
parentd1d8704c48f9c2bb791e8e183a41019f35a3f7f0 (diff)
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>
Diffstat (limited to 'include/linux/dmi.h')
-rw-r--r--include/linux/dmi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dmi.h b/include/linux/dmi.h
index 2f9f98827c0a..5055ac34142d 100644
--- a/include/linux/dmi.h
+++ b/include/linux/dmi.h
@@ -75,7 +75,7 @@ struct dmi_header {
u8 type;
u8 length;
u16 handle;
-};
+} __packed;
struct dmi_device {
struct list_head list;