diff options
author | Matthieu Baerts <matthieu.baerts@tessares.net> | 2022-07-11 11:12:00 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-07-12 07:18:55 +0300 |
commit | f16214c102f0f64b2f3546e989498525bd7b7708 (patch) | |
tree | 1ec09473e163fd7c672d03215038ad7b867a2c82 /virt/kvm/pfncache.c | |
parent | 49705c4ab324654a7038fc843255140730477e04 (diff) | |
download | linux-f16214c102f0f64b2f3546e989498525bd7b7708.tar.xz |
bpf: Fix 'dubious one-bit signed bitfield' warnings
Our CI[1] reported these warnings when using Sparse:
$ touch net/mptcp/bpf.c
$ make C=1 net/mptcp/bpf.o
net/mptcp/bpf.c: note: in included file:
include/linux/bpf_verifier.h:348:26: error: dubious one-bit signed bitfield
include/linux/bpf_verifier.h:349:29: error: dubious one-bit signed bitfield
Set them as 'unsigned' to avoid warnings.
[1] https://github.com/multipath-tcp/mptcp_net-next/actions/runs/2643588487
Fixes: 1ade23711971 ("bpf: Inline calls to bpf_loop when callback is known")
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20220711081200.2081262-1-matthieu.baerts@tessares.net
Diffstat (limited to 'virt/kvm/pfncache.c')
0 files changed, 0 insertions, 0 deletions