Thread (7 messages) 7 messages, 4 authors, 2015-09-15

Re: [PATCH V2] debugfs: don't assume sizeof(bool) to be 4 bytes

From: Mark Brown <broonie@kernel.org>
Date: 2015-09-14 17:12:55
Also in: alsa-devel, linux-acpi, linux-iommu, linux-mm, linux-scsi, netdev

On Mon, Sep 14, 2015 at 09:21:54AM +0530, Viresh Kumar wrote:
Long back 'bool' type used to be a typecast to 'int', but that changed
in v2.6.19. And that is a typecast to _Bool now, which (mostly) takes
just a byte. Anyway, the bool type is implementation defined, and better
we don't assume its size to be 4 bytes or 1.
Acked-by: Mark Brown <broonie@kernel.org>

Attachments

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