[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a3a2712ee54949db9c22269e07f9f2f5@AcuMS.aculab.com>
Date: Fri, 4 Jun 2021 08:33:50 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Joe Perches' <joe@...ches.com>, 'Alex Elder' <elder@...aro.org>,
'Manikishan Ghantasala' <manikishanghantasala@...il.com>,
Alex Elder <elder@...e.org>
CC: Alex Elder <elder@...nel.org>,
"greybus-dev@...ts.linaro.org" <greybus-dev@...ts.linaro.org>,
"linux-staging@...ts.linux.dev" <linux-staging@...ts.linux.dev>,
Johan Hovold <johan@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [greybus-dev] [PATCH] staging: greybus: fixed the coding style,
labels should not be indented.
From: Joe Perches
> Sent: 04 June 2021 09:27
>
> On Fri, 2021-06-04 at 08:13 +0000, David Laight wrote:
> > From: Alex Elder
> > > Sent: 03 June 2021 22:55
> > ...
> > > Not necessarily, sizeof(bool) is implementation defined.
> > > And I thought you didn't think the size of the structure
> > > was very important...
> >
> > It is 'implementation defined' but will be 32 bits on everything
> > except an old 32bit ARM ABI.
>
> Really? (x86-64)
>
...
> sizeof _Bool: 1
> sizeof struct foo: 1
Gah, not enough coffee.
I said I don't like _Bool :-)
The old arm32 must have had 32bit bool.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Powered by blists - more mailing lists