summaryrefslogtreecommitdiff
path: root/samples/pktgen
diff options
context:
space:
mode:
authorDavid Yang <davidcomponentone@gmail.com>2021-10-12 14:16:49 +0300
committerAndrii Nakryiko <andrii@kernel.org>2021-10-20 20:55:33 +0300
commitb599015f044df53e93ad0a2957b615bc1a26bf73 (patch)
treeb92e5ce1f819c075ab3a0f4b84355649aba640bb /samples/pktgen
parentefc36d6c642a753c2880d97b8e8c3c7cfaf64ad1 (diff)
downloadlinux-b599015f044df53e93ad0a2957b615bc1a26bf73.tar.xz
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 <zealci@zte.com.cn> Signed-off-by: David Yang <davidcomponentone@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20211012111649.983253-1-davidcomponentone@gmail.com
Diffstat (limited to 'samples/pktgen')
0 files changed, 0 insertions, 0 deletions