From: Jean Delvare <jdelvare@suse.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: "Ivan.khoronzhuk" <ivan.khoronzhuk@globallogic.com>,
Matt Fleming <matt.fleming@intel.com>
Subject: [PATCH] firmware: dmi: struct dmi_header should be packed
Date: Wed, 29 Apr 2015 14:08:00 +0200 [thread overview]
Message-ID: <20150429140800.68071e2c@endymion.delvare> (raw)
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
reply other threads:[~2015-04-29 12:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150429140800.68071e2c@endymion.delvare \
--to=jdelvare@suse.de \
--cc=ivan.khoronzhuk@globallogic.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matt.fleming@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®