ternary vs double exclamation

John de la Garza john at jjdev.com
Sat Jan 3 18:54:00 EST 2015


On Mon, Dec 29, 2014 at 08:00:08PM -0500, Valdis.Kletnieks at vt.edu wrote:
> If you're *really* ambitious, converting stuff to use a boolean
> rather than an int where appropriate would be nice - we don't do that enough
> currently. But that will require actually reading and understanding the code.


It should not be assumed that true will always be 1 as defined in
include/linux/stddef.h, right?



More information about the Kernelnewbies mailing list