diff options
author | Yang Li <[email protected]> | 2022-05-19 07:09:53 +0800 |
---|---|---|
committer | Max Filippov <[email protected]> | 2022-05-23 00:33:05 -0700 |
commit | dc60001e1a305ad8bba1ddaf09484e0e150aba60 (patch) | |
tree | b9eb37a119af91e42b31994a7ad34c143bfc86b1 /lib/mpi/mpi-sub-ui.c | |
parent | 5cc5f19f884a75f0bf96b95b4292fcc81effd755 (diff) |
xtensa: Return true/false (not 1/0) from bool function
Return boolean values ("true" or "false") instead of 1 or 0 from bool
function. This fixes the following warnings from coccicheck:
./arch/xtensa/kernel/traps.c:304:10-11: WARNING: return of 0/1 in
function 'check_div0' with return type bool
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Max Filippov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions