From: Jean Delvare Date: Thu, 25 Jun 2015 07:06:57 +0000 (+0200) Subject: firmware: dmi: struct dmi_header should be packed X-Git-Tag: v5.15~15571^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ea650c804404e55dbf17c928203141282e759ab;p=platform%2Fkernel%2Flinux-starfive.git 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 --- diff --git a/include/linux/dmi.h b/include/linux/dmi.h index 2f9f988..5055ac3 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;