diff options
author | Roberto Valenzuela <valenzuelarober@gmail.com> | 2023-01-13 21:02:57 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2023-01-14 01:23:02 +0300 |
commit | 1c48391bc6739f5e3306919d4b887b92c35d5490 (patch) | |
tree | 59945def743f0f65ccc4efe0883c68bfd0403f24 /tools | |
parent | 2fa074536590a82ee6c670d5f119f3dfb4ca6015 (diff) | |
download | linux-1c48391bc6739f5e3306919d4b887b92c35d5490.tar.xz |
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.c | 2 |
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 |