Apparently the compiler does fine without it, but it feels safer and clearer to add the missing attribute.
Signed-off-by: Jean Delvare <[email protected]> --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

