Re: [PATCH] tools/bpftool: silence a static check warning

2018-01-15 Thread Daniel Borkmann
Hi Dan, On 01/15/2018 09:15 AM, Dan Carpenter wrote: > There is a static checker warning that proglen has an upper bound but no > lower bound. The allocation will just fail harmlessly so it's not a big > deal. > > Signed-off-by: Dan Carpenter > > diff --git a/tools/bpf/bpf_jit_disasm.c b/tools

[PATCH] tools/bpftool: silence a static check warning

2018-01-15 Thread Dan Carpenter
There is a static checker warning that proglen has an upper bound but no lower bound. The allocation will just fail harmlessly so it's not a big deal. Signed-off-by: Dan Carpenter diff --git a/tools/bpf/bpf_jit_disasm.c b/tools/bpf/bpf_jit_disasm.c index 30044bc4f389..2d7bb5dc0b8c 100644 --- a/