Re: [PATCH -next] selinux: fix warning Comparison to bool

From: Paul Moore
Date: Tue Apr 14 2020 - 18:05:37 EST


On Tue, Apr 14, 2020 at 4:12 AM Zou Wei <zou_wei@xxxxxxxxxx> wrote:
>
> fix below warnings reported by coccicheck
>
> security/selinux/ss/mls.c:539:39-43: WARNING: Comparison to bool
> security/selinux/ss/services.c:1815:46-50: WARNING: Comparison to bool
> security/selinux/ss/services.c:1827:46-50: WARNING: Comparison to bool
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Zou Wei <zou_wei@xxxxxxxxxx>
> ---
> security/selinux/ss/mls.c | 2 +-
> security/selinux/ss/services.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)

Merged into selinux/next, thanks.

--
paul moore
www.paul-moore.com