OSDN Git Service

tomoyo: use true for bool variable tomoyo-pr-20200601
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)
commit27acbf41be3928999b3a291fceee2a4b50218f00
tree93f052153fa671e62289d99f4460322ecfa8df5f
parent152036d1379ffd6985262743dcf6b0f9c75f83a4
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