Andrii Nakryiko wrote:
> On Tue, Nov 10, 2020 at 9:03 PM <[email protected]> wrote:
> >
> > From: Kaixu Xia <[email protected]>
> >
> > The unsigned variable datasec_id is assigned a return value from the call
> > to check_pseudo_btf_id(), which may return negative error code.
> >
> > Fixes coccicheck warning:
> >
> > ./kernel/bpf/verifier.c:9616:5-15: WARNING: Unsigned expression compared 
> > with zero: datasec_id > 0
> >
> > Reported-by: Tosk Robot <[email protected]>
> > Signed-off-by: Kaixu Xia <[email protected]>
> > ---
> 
> Looks good.
> 
> Acked-by: Andrii Nakryiko <[email protected]>
> 
> [...]

Acked-by: John Fastabend <[email protected]>

Reply via email to