diff options
author | Changcheng Deng <deng.changcheng@zte.com.cn> | 2022-01-14 14:07:21 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-01-15 16:30:29 +0200 |
commit | 1611f74a94ba2e0f2d25b75008ed8e76e122097a (patch) | |
tree | b42a10d70e2b598b9d2d6534abd501835e4eac3c /mm | |
parent | 39c65a94cd9661532be150e88f8b02f4a6844a35 (diff) |
mm: fix boolreturn.cocci warning
Return statements in functions returning bool should use true/false
instead of 1/0.
Link: https://lkml.kernel.org/r/20211126073327.74815-1-deng.changcheng@zte.com.cn
Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn>
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions