]> git.baikalelectronics.ru Git - kernel.git/commit
tomoyo: use true for bool variable
authorZou Wei <zou_wei@huawei.com>
Tue, 14 Apr 2020 08:19:48 +0000 (16:19 +0800)
committerTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Mon, 11 May 2020 23:39:53 +0000 (08:39 +0900)
commitbb96f586a7e2f4f0259e20a74c439e9aa3a61462
tree93f052153fa671e62289d99f4460322ecfa8df5f
parent6234ce43d8515affc3fa2f1b106eb5fccb3357c6
tomoyo: use true for bool variable

Fixes coccicheck warning:

security/tomoyo/common.c:1028:2-13: WARNING: Assignment of 0/1 to bool variable

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
security/tomoyo/common.c