]> git.baikalelectronics.ru Git - kernel.git/commit
x86/e820: Use proper booleans instead of 0/1
authorYi Wang <wang.yi59@zte.com.cn>
Mon, 15 Jul 2019 02:47:09 +0000 (10:47 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 16 Jul 2019 21:13:49 +0000 (23:13 +0200)
commit0fe7a8ae307d9e87b072be770f3c6e1d9d99340b
treee2842ca5af874e7424d80ee7ba028f6749fac390
parent46a2c504e1aa6e97e76cc3f23eff15bd70d5adde
x86/e820: Use proper booleans instead of 0/1

This fixes the following coccinelle warning:
./arch/x86/kernel/e820.c:89:9-10: WARNING: return of 0/1 in function '_e820__mapped_any' with return type bool

Return type bool instead of 0/1.

Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/1563158829-44373-1-git-send-email-wang.yi59@zte.com.cn
arch/x86/kernel/e820.c