summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRoberto Valenzuela <valenzuelarober@gmail.com>2023-01-13 13:02:57 -0500
committerAndrii Nakryiko <andrii@kernel.org>2023-01-13 14:23:02 -0800
commit1c48391bc6739f5e3306919d4b887b92c35d5490 (patch)
tree59945def743f0f65ccc4efe0883c68bfd0403f24 /tools
parent2fa074536590a82ee6c670d5f119f3dfb4ca6015 (diff)
selftests/bpf: Fix missing space error
Add the missing space after 'dest' variable assignment. This change will resolve the following checkpatch.pl script error: ERROR: spaces required around that '+=' (ctx:VxW) Signed-off-by: Roberto Valenzuela <valenzuelarober@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20230113180257.39769-1-valenzuelarober@gmail.com
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/bpf/progs/test_xdp_vlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/progs/test_xdp_vlan.c b/tools/testing/selftests/bpf/progs/test_xdp_vlan.c
index 134768f6b788..cdf3c48d6cbb 100644
--- a/tools/testing/selftests/bpf/progs/test_xdp_vlan.c
+++ b/tools/testing/selftests/bpf/progs/test_xdp_vlan.c
@@ -195,7 +195,7 @@ int xdp_prognum2(struct xdp_md *ctx)
/* Moving Ethernet header, dest overlap with src, memmove handle this */
dest = data;
- dest+= VLAN_HDR_SZ;
+ dest += VLAN_HDR_SZ;
/*
* Notice: Taking over vlan_hdr->h_vlan_encapsulated_proto, by
* only moving two MAC addrs (12 bytes), not overwriting last 2 bytes