xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: George Dunlap <george.dunlap@eu.citrix.com>,
	Eddie Dong <eddie.dong@intel.com>,
	JunNakajima <jun.nakajima@intel.com>,
	Xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH v2 1/5] xen/misc: Functional cleanup for __attribute__((packed)) changes
Date: Thu, 13 Mar 2014 16:30:19 +0000	[thread overview]
Message-ID: <5321DD1B.7020409@citrix.com> (raw)
In-Reply-To: <5321E93F0200007800123D86@nat28.tlf.novell.com>

On 13/03/14 16:22, Jan Beulich wrote:
>>>> On 13.03.14 at 16:04, Andrew Cooper <andrew.cooper3@citrix.com> wrote:
>> --- a/xen/arch/x86/cpu/mcheck/mce-apei.c
>> +++ b/xen/arch/x86/cpu/mcheck/mce-apei.c
>> @@ -53,7 +53,7 @@ struct cper_mce_record {
>>  	struct cper_record_header hdr;
>>  	struct cper_section_descriptor sec_hdr;
>>  	struct mce mce;
>> -} __packed;
>> +} __attribute__((packed));
>>  /* Reset to default packing */
>>  #pragma pack()
> I'm sorry for paying attention only now, but you apparently didn't
> notice this either: The #pragma pack() around that structure was
> the apparent attempt to deal with __packed "not functioning". We
> should get rig of these pragmas at the same time I think.
>
> Jan
>

I did notice that, but was hoping to ignore it for the time being (as
this __packed series has become rather longer than the half hour task I
planned it to be)

I shall do a new following patch which replaces the use of #pragma
pack() in Xen, which doesn't look too difficult.

~Andrew

  reply	other threads:[~2014-03-13 16:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-13 15:04 [PATCH v2 0/5] Improvements to the use of __attribute__((packed)) Andrew Cooper
2014-03-13 15:04 ` [PATCH v2 1/5] xen/misc: Functional cleanup for __attribute__((packed)) changes Andrew Cooper
2014-03-13 16:22   ` Jan Beulich
2014-03-13 16:30     ` Andrew Cooper [this message]
2014-03-13 15:04 ` [PATCH v2 2/5] xen/common: Shuffle use of __attribute__((packed)) Andrew Cooper
2014-03-13 15:04 ` [PATCH v2 3/5] xen/x86: " Andrew Cooper
2014-03-13 15:04 ` [PATCH v2 4/5] xen/arm: " Andrew Cooper
2014-03-13 15:04 ` [PATCH v2 5/5] xen/x86_emulate: " Andrew Cooper
2014-03-13 16:08   ` Keir Fraser

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=5321DD1B.7020409@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=eddie.dong@intel.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=jun.nakajima@intel.com \
    --cc=xen-devel@lists.xen.org \
    /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;
as well as URLs for NNTP newsgroup(s).