From: Alexander Alemayhu
Date: Tue, 14 Feb 2017 00:02:35 +0100
> Fixes the following warnings:
...
> Reported-by: David Binderman
> Signed-off-by: Alexander Alemayhu
Applied, thank you.
On Tue, Feb 14, 2017 at 12:18:05AM +0100, Daniel Borkmann wrote:
> >kernel/bpf/verifier.c:2019:24: warning: this statement may fall through
> >[-Wimplicit-fallthrough=]
> >false_reg->min_value = 0;
> >~^~~
> >
> >Reported-by: David Binderman
> >Signed-off-by: Alexander
On 02/14/2017 12:02 AM, Alexander Alemayhu wrote:
Fixes the following warnings:
kernel/bpf/verifier.c: In function ‘may_access_direct_pkt_data’:
kernel/bpf/verifier.c:702:6: warning: this statement may fall through
[-Wimplicit-fallthrough=]
if (t == BPF_WRITE)
^
kernel/bpf/verifier.c
Fixes the following warnings:
kernel/bpf/verifier.c: In function ‘may_access_direct_pkt_data’:
kernel/bpf/verifier.c:702:6: warning: this statement may fall through
[-Wimplicit-fallthrough=]
if (t == BPF_WRITE)
^
kernel/bpf/verifier.c:704:2: note: here
case BPF_PROG_TYPE_SCHED_CLS:
^