From: Ian Campbell Subject: Re: [PATCH 4/5] xen/arm: Cleanup use of __attribute__((packed)) Date: Thu, 13 Mar 2014 10:01:56 +0000 Message-ID: <1394704916.25873.8.camel@kazak.uk.xensource.com> References: <1394651319-8893-1-git-send-email-andrew.cooper3@citrix.com> <1394651319-8893-5-git-send-email-andrew.cooper3@citrix.com> <53217BB90200007800123874@nat28.tlf.novell.com> <1394704502.25873.3.camel@kazak.uk.xensource.com> <20140313095959.GA41479@deinos.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140313095959.GA41479@deinos.phlegethon.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tim Deegan Cc: Andrew Cooper , Stefano Stabellini , Jan Beulich , Xen-devel List-Id: xen-devel@lists.xenproject.org On Thu, 2014-03-13 at 10:59 +0100, Tim Deegan wrote: > At 09:55 +0000 on 13 Mar (1394700902), Ian Campbell wrote: > > On Thu, 2014-03-13 at 08:34 +0000, Jan Beulich wrote: > > > >>> On 12.03.14 at 20:08, Andrew Cooper wrote: > > > > And standardise on having the statement at the head of the struct/union > > > > rather > > > > than at the tail. This is all mechanical shuffling. > > > > > > Yet none of the attributes seem really necessary here. > > > > These structs mirror the actual hardware PTE layouts, although it should > > make no difference in practice isn't __packed quite a useful indicator > > for this? > > +1. I think that __packed on things where the actual bit layout is > important is fine, even if it's not strictly necessary. Therefore for the original patch: Acked-by: Ian Campbell Ian.