diff options
author | 2012-11-29 22:08:41 +0100 | |
---|---|---|
committer | 2013-02-05 09:38:22 -0600 | |
commit | 73249695f0cb10bb9fc8b294f3f8c4b001889e42 (patch) | |
tree | e674bcf6bfac8d5dacb57b5131c7670d9c742c59 /lib/spinlock_debug.c | |
parent | TPM: Switch to __packed instead of __attribute__((packed)) (diff) | |
download | linux-dev-73249695f0cb10bb9fc8b294f3f8c4b001889e42.tar.xz linux-dev-73249695f0cb10bb9fc8b294f3f8c4b001889e42.zip |
char/tpm: Use true and false for bools
Bool initializations should use true and false. Bool tests don't need
comparisons. Based on contributions from Joe Perches, Rusty Russell
and Bruce W Allan.
The semantic patch that makes this output is available
in scripts/coccinelle/misc/boolinit.cocci.
More information about semantic patching is available at
http://coccinelle.lip6.fr/
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions