Re: [PATCH-next] bpf: Verifier, remove unneeded conversion to bool

From: Song Liu
Date: Tue Apr 14 2020 - 12:52:00 EST


On Mon, Apr 13, 2020 at 10:15 PM Zou Wei <zou_wei@xxxxxxxxxx> wrote:
>
> This issue was detected by using the Coccinelle software:
>
> kernel/bpf/verifier.c:1259:16-21: WARNING: conversion to bool not needed here
>
> The conversion to bool is unneeded, remove it
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Zou Wei <zou_wei@xxxxxxxxxx>

Acked-by: Song Liu <songliubraving@xxxxxx>