summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_xdp_vlan.c
diff options
context:
space:
mode:
authorTaichi Nishimura <awkrail01@gmail.com>2023-02-16 17:55:37 +0900
committerAndrii Nakryiko <andrii@kernel.org>2023-02-16 16:56:17 -0800
commitdf71a42cc37a44cdc7682f57aecf14ff44391eed (patch)
tree08187f8129d2193cf6e8922ef9d8528f83d49047 /tools/testing/selftests/bpf/progs/test_xdp_vlan.c
parentc5a237a4db21ca7a28518c994def39d7bd62a0d1 (diff)
downloadlinux-df71a42cc37a44cdc7682f57aecf14ff44391eed.tar.gz
linux-df71a42cc37a44cdc7682f57aecf14ff44391eed.tar.bz2
linux-df71a42cc37a44cdc7682f57aecf14ff44391eed.zip
Fix typos in selftest/bpf files
Run spell checker on files in selftest/bpf and fixed typos. Signed-off-by: Taichi Nishimura <awkrail01@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/bpf/20230216085537.519062-1-awkrail01@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_xdp_vlan.c')
-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 cdf3c48d6cbb..4ddcb6dfe500 100644
--- a/tools/testing/selftests/bpf/progs/test_xdp_vlan.c
+++ b/tools/testing/selftests/bpf/progs/test_xdp_vlan.c
@@ -98,7 +98,7 @@ bool parse_eth_frame(struct ethhdr *eth, void *data_end, struct parse_pkt *pkt)
return true;
}
-/* Hint, VLANs are choosen to hit network-byte-order issues */
+/* Hint, VLANs are chosen to hit network-byte-order issues */
#define TESTVLAN 4011 /* 0xFAB */
// #define TO_VLAN 4000 /* 0xFA0 (hint 0xOA0 = 160) */