Thread (16 messages) 16 messages, 5 authors, 2016-10-06

RE: [PATCH] bluetooth.h: __ variants of u8 and friends are not neccessary inside kernel

flat view

From: David Laight <hidden>
Date: 2016-10-06 13:03:00
Also in: lkml, netdev

From: Joe Perches
Sent: 06 October 2016 12:39
On Thu, 2016-10-06 at 09:41 +0000, David Laight wrote:
quoted
From: Joe Perches
quoted
No worries, and bool is the same ,size as u8.
That is not guaranteed at all.
One of the ARM ABI defined bool to be the size of int.
=20
Really?  What kernel has sizeof(_Bool) !=3D 1 ?
Probably none, but I know systems have used larger bool.
I found this:
with egcs-2.90.29 980515 (egcs-1.0.3 release) on alphaev56-dec-osf4.0d
 bool  =3D 8
 short =3D 2
 int   =3D 4=20
 long  =3D 8
I'm pretty sure something newer than an old alpha ABI used 4 byte bool.

	David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help