diff options
| author | 2020-06-04 16:49:46 -0700 | |
|---|---|---|
| committer | 2020-06-04 19:06:24 -0700 | |
| commit | fa1f68cc88f1dce6b7bb37628eb7c25c96593183 (patch) | |
| tree | c176bba997b2fd0332b55d377ee067a6765f0d1d /fs/proc/array.c | |
| parent | mm/memory: fix a typo in comment "attampt"->"attempt" (diff) | |
| download | wireguard-linux-fa1f68cc88f1dce6b7bb37628eb7c25c96593183.tar.xz wireguard-linux-fa1f68cc88f1dce6b7bb37628eb7c25c96593183.zip | |
mm: use false for bool variable
Fixes coccicheck warnings:
mm/zbud.c:246:1-20: WARNING: Assignment of 0/1 to bool variable
mm/mremap.c:777:2-8: WARNING: Assignment of 0/1 to bool variable
mm/huge_memory.c:525:9-10: WARNING: return of 0/1 in function 'is_transparent_hugepage' with return type bool
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/1586835930-47076-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
