x86/kaslr: Return boolean values from a function returning bool
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 9 Mar 2021 09:59:23 +0000 (17:59 +0800)
committerBorislav Petkov <bp@suse.de>
Fri, 19 Mar 2021 12:25:07 +0000 (13:25 +0100)
commit21d6a7dcbfba5e7b31f4e9d555a9be362578bfc3
tree5eb12238bb9b4d5a9ecc3e027ddedf147da1def7
parentd9f6e12fb0b7fcded0bac34b8293ec46f80dfc33
x86/kaslr: Return boolean values from a function returning bool

Fix the following coccicheck warnings:

  ./arch/x86/boot/compressed/kaslr.c:642:10-11: WARNING: return of 0/1 in
  function 'process_mem_region' with return type bool.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/1615283963-67277-1-git-send-email-jiapeng.chong@linux.alibaba.com
arch/x86/boot/compressed/kaslr.c