diff options
| author | Yang Guang <yang.guang5@zte.com.cn> | 2022-01-14 03:11:02 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@kernel.org> | 2022-02-01 15:25:50 +0300 |
| commit | 6d3ac94bae21de6b6a1d81596752428960012816 (patch) | |
| tree | bc8ba536f06112249a0e9ba0233fd836c9029c27 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 7e4760713391ee46dc913194b33ae234389a174e (diff) | |
| download | linux-6d3ac94bae21de6b6a1d81596752428960012816.tar.xz | |
ssb: fix boolreturn.cocci warning
The coccinelle report
./include/linux/ssb/ssb_driver_gige.h:98:8-9:
WARNING: return of 0/1 in function
'ssb_gige_must_flush_posted_writes' with return type bool
Return statements in functions returning bool should use true/false
instead of 1/0.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Yang Guang <yang.guang5@zte.com.cn>
Signed-off-by: David Yang <davidcomponentone@gmail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/fa4f1fa737e715eb62a85229ac5f12bae21145cf.1642065490.git.davidcomponentone@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
