aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorDavid Yang <[email protected]>2021-10-12 11:16:49 +0000
committerAndrii Nakryiko <[email protected]>2021-10-20 17:55:33 +0000
commitb599015f044df53e93ad0a2957b615bc1a26bf73 (patch)
treeb92e5ce1f819c075ab3a0f4b84355649aba640bb /tools/bpf/bpftool/prog.c
parentbpftool: Remove useless #include to <perf-sys.h> from map_perf_ring.c (diff)
downloadkernel-b599015f044df53e93ad0a2957b615bc1a26bf73.tar.gz
kernel-b599015f044df53e93ad0a2957b615bc1a26bf73.zip
samples/bpf: Fix application of sizeof to pointer
The coccinelle check report: "./samples/bpf/xdp_redirect_cpu_user.c:397:32-38: ERROR: application of sizeof to pointer" Using the "strlen" to fix it. Reported-by: Zeal Robot <[email protected]> Signed-off-by: David Yang <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions