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

Mark Brown broonie at kernel.org
Mon Sep 14 10:11:09 PDT 2015

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 at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20150914/4d5f1068/attachment-0001.sig>

More information about the ath10k mailing list