Messages in this thread Patch in this message | | | Date | Wed, 29 Apr 2015 14:08:00 +0200 | From | Jean Delvare <> | Subject | [PATCH] 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> --- include/linux/dmi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-4.1-rc1.orig/include/linux/dmi.h 2015-04-28 20:42:00.496086088 +0200 +++ linux-4.1-rc1/include/linux/dmi.h 2015-04-29 13:56:50.761011023 +0200 @@ -75,7 +75,7 @@ struct dmi_header { u8 type; u8 length; u16 handle; -}; +} __packed; struct dmi_device { struct list_head list;
-- Jean Delvare SUSE L3 Support
| |