diff options
| author | kbuild test robot <[email protected]> | 2020-03-28 11:07:28 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-04-01 02:35:02 +0000 |
| commit | 60f537d5755221efdcdae1415a4c745164c31214 (patch) | |
| tree | 74e777d9f75560194ef02a0bbf05c231b6c97dff /tools/perf/scripts/python/compaction-times.py | |
| parent | scsi: zfcp: use fallthrough; (diff) | |
| download | kernel-60f537d5755221efdcdae1415a4c745164c31214.tar.gz kernel-60f537d5755221efdcdae1415a4c745164c31214.zip | |
scsi: bnx2fc: fix boolreturn.cocci warnings
drivers/scsi/bnx2fc/bnx2fc_hwi.c:1019:9-10: WARNING: return of 0/1 in function 'bnx2fc_pending_work' with return type bool
Return statements in functions returning bool should use
true/false instead of 1/0.
Generated by: scripts/coccinelle/misc/boolreturn.cocci
Fixes: 77331115e220 ("scsi: bnx2fc: Process the RQE with CQE in interrupt context")
CC: Javed Hasan <[email protected]>
Acked-by: Javed Hasan <[email protected]>
Signed-off-by: kbuild test robot <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
