aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2021-03-03 15:20:35 +0800
committerAlexei Starovoitov <ast@kernel.org>2021-03-04 19:24:53 -0800
commit46ac034f769fcd50d3d554041a3879a0cdf2ee57 (patch)
treef31295878e123ad20e0057e8670aee185f9a7b04 /tools/testing/selftests
parentMerge branch 'PROG_TEST_RUN support for sk_lookup programs' (diff)
downloadwireguard-linux-46ac034f769fcd50d3d554041a3879a0cdf2ee57.tar.xz
wireguard-linux-46ac034f769fcd50d3d554041a3879a0cdf2ee57.zip
bpf: Simplify the calculation of variables
Fix the following coccicheck warnings: ./tools/bpf/bpf_dbg.c:1201:55-57: WARNING !A || A && B is equivalent to !A || B. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/1614756035-111280-1-git-send-email-jiapeng.chong@linux.alibaba.com
Diffstat (limited to 'tools/testing/selftests')
0 files changed, 0 insertions, 0 deletions