projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1d8704
)
firmware: dmi: struct dmi_header should be packed
author
Jean Delvare
<jdelvare@suse.de>
Thu, 25 Jun 2015 07:06:57 +0000
(09:06 +0200)
committer
Jean Delvare
<jdelvare@suse.de>
Thu, 25 Jun 2015 07:06:57 +0000
(09:06 +0200)
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>
include/linux/dmi.h
patch
|
blob
|
history
diff --git
a/include/linux/dmi.h
b/include/linux/dmi.h
index 2f9f98827c0afe14d7ba724827a50460755f1ffe..5055ac34142d0dc59a3b2c477ed45fed814a9943 100644
(file)
--- 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;