OSDN Git Service

kconfig: use true and false for bool variable
authorYang Li <yang.lee@linux.alibaba.com>
Mon, 15 Mar 2021 06:55:44 +0000 (14:55 +0800)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 14 Apr 2021 06:22:49 +0000 (15:22 +0900)
commita69b191f6297310ff140f2868b89fe2a2f355b90
tree54751e075d059fb15ca2cafd2da123418d536b44
parent6dd85ff178cd76851e2184b13e545f5a88d1be30
kconfig: use true and false for bool variable

fixed the following coccicheck:
./scripts/kconfig/confdata.c:36:9-10: WARNING: return of 0/1 in function
'is_dir' with return type bool

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/confdata.c