diff options
author | 2013-11-02 17:41:51 +0100 | |
---|---|---|
committer | 2014-01-06 14:37:24 +0100 | |
commit | ba6a09d7c01fd88c26a0a4d83788026632ee3d37 (patch) | |
tree | 5f67630db7233c68c911b058c67fc4158bfc6dc8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tpm/tpm_ibmvtpm: fix unreachable code warning (smatch warning) (diff) | |
download | linux-dev-ba6a09d7c01fd88c26a0a4d83788026632ee3d37.tar.xz linux-dev-ba6a09d7c01fd88c26a0a4d83788026632ee3d37.zip |
tpm/tpm_i2c_atmel: fix coccinelle warnings
drivers/char/tpm/tpm_i2c_atmel.c:178:8-9: WARNING: return of 0/1 in function 'i2c_atmel_req_canceled' with return type bool
Return statements in functions returning bool should use
true/false instead of 1/0.
Generated by: coccinelle/misc/boolreturn.cocci
CC: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
CC: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions