Fix spelling typo in samples/bpf
v3 cover Fix spelling typo in samples/bpf
Fixes for some spelling errors in samples/bpf
v3:
- The BPF module patch as a separate thread
v2:
- Merge into a single commit
(https://lore.kernel.org/all/[email protected]/
)
v1:
(https://lore.kernel.org/all/[email protected]/)
Chu Guangqing (1):
samples/bpf: Fix spelling typo in samples/bpf
samples/bpf/do_hbm_test.sh | 2 +- samples/bpf/hbm.c | 4 ++-- samples/bpf/tcp_cong_kern.c | 2 +- samples/bpf/tracex1.bpf.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
2.43.7
PATCH v3 1/1 samples/bpf: Fix spelling typo in samples/bpf
do_hbm_test.sh:
The comment incorrectly used "upcomming" instead of "upcoming".
hbm.c
The comment incorrectly used "Managment" instead of "Management". The comment incorrectly used "Currrently" instead of "Currently".
tcp_cong_kern.c
The comment incorrectly used "deteremined" instead of "determined".
tracex1.bpf.c
The comment incorrectly used "loobpack" instead of "loopback".
--- samples/bpf/do_hbm_test.sh | 2 +- samples/bpf/hbm.c | 4 ++-- samples/bpf/tcp_cong_kern.c | 2 +- samples/bpf/tracex1.bpf.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)
samples/bpf/do_hbm_test.sh +1 -1
@@ -112,7 +112,7 @@ function start_hbm () { processArgs () { for i in $args ; do case $i in - # Support for upcomming ingress rate limiting + # Support for upcoming ingress rate limiting #in) # support for upcoming ingress rate limiting # dir="-i" # dir_name="in"
samples/bpf/hbm.c +2 -2
@@ -5,7 +5,7 @@* modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * -* Example program for Host Bandwidth Managment +* Example program for Host Bandwidth Management * * This program loads a cgroup skb BPF program to enforce cgroup output * (egress) or input (ingress) bandwidth limits.
@@ -24,7 +24,7 @@* beyond the rate limit specified while there is available * bandwidth. Current implementation assumes there is only * NIC (eth0), but can be extended to support multiple NICs. -* Currrently only supported for egress. +* Currently only supported for egress. * -h Print this info * prog BPF program file name. Name defaults to hbm_out_kern.o */
samples/bpf/tcp_cong_kern.c +1 -1
@@ -5,7 +5,7 @@* License as published by the Free Software Foundation. * * BPF program to set congestion control to dctcp when both hosts are -* in the same datacenter (as deteremined by IPv6 prefix). +* in the same datacenter (as determined by IPv6 prefix). * * Use "bpftool cgroup attach $cg sock_ops $prog" to load this BPF program. */
samples/bpf/tracex1.bpf.c +1 -1
@@ -20,7 +20,7 @@ SEC("kprobe.multi/__netif_receive_skb_core*")int bpf_prog1 (struct pt_regs *ctx) {/* attaches to kprobe __netif_receive_skb_core, -* looks for packets on loobpack device and prints them +* looks for packets on loopback device and prints them * (wildcard is used for avoiding symbol mismatch due to optimization) */ char devname[IFNAMSIZ ];
Signature · 1 line
2.43.7
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:
Hello:
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:
Quoted 5 lines · On Wed, 15 Oct 2025 09:50:23 +0800 you wrote:
Fixes for some spelling errors in
samples/bpfv3:
- The BPF module patch as a separate thread
Quoted 8 lines
v2:
- Merge into a single commit
(https://lore.kernel.org/all/[email protected]/
)
v1:
(https://lore.kernel.org/all/[email protected]/)[...]
Here is the summary with links:
- [v3,1/1] samples/bpf: Fix spelling typo in samples/bpf
https://git.kernel.org/bpf/bpf-next/c/b74938a3bd37
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html