* [PATCH v3 1/1] samples/bpf: Fix spelling typo in samples/bpf
2025-10-15 1:50 [PATCH v3 0/1] Fix spelling typo in samples/bpf Chu Guangqing
@ 2025-10-15 1:50 ` Chu Guangqing
2025-10-19 2:30 ` [PATCH v3 0/1] " patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Chu Guangqing @ 2025-10-15 1:50 UTC (permalink / raw)
To: ast, daniel, andrii, martin.lau, eddyz87, song, yonghong.song,
john.fastabend, kpsingh, sdf, haoluo, jolsa
Cc: bpf, linux-kernel, Chu Guangqing
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".
Signed-off-by: Chu Guangqing <chuguangqing@inspur.com>
---
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(-)
diff --git a/samples/bpf/do_hbm_test.sh b/samples/bpf/do_hbm_test.sh
index 38e4599350db..7f4f722787d5 100755
--- a/samples/bpf/do_hbm_test.sh
+++ b/samples/bpf/do_hbm_test.sh
@@ -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"
diff --git a/samples/bpf/hbm.c b/samples/bpf/hbm.c
index bf66277115e2..fc88d4dbdf48 100644
--- a/samples/bpf/hbm.c
+++ b/samples/bpf/hbm.c
@@ -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
*/
diff --git a/samples/bpf/tcp_cong_kern.c b/samples/bpf/tcp_cong_kern.c
index 2311fc9dde85..339415eac477 100644
--- a/samples/bpf/tcp_cong_kern.c
+++ b/samples/bpf/tcp_cong_kern.c
@@ -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.
*/
diff --git a/samples/bpf/tracex1.bpf.c b/samples/bpf/tracex1.bpf.c
index 0ab39d76ff8f..ceedf0b1d479 100644
--- a/samples/bpf/tracex1.bpf.c
+++ b/samples/bpf/tracex1.bpf.c
@@ -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];
--
2.43.7
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH v3 0/1] Fix spelling typo in samples/bpf
2025-10-15 1:50 [PATCH v3 0/1] Fix spelling typo in samples/bpf Chu Guangqing
2025-10-15 1:50 ` [PATCH v3 1/1] samples/bpf: " Chu Guangqing
@ 2025-10-19 2:30 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-10-19 2:30 UTC (permalink / raw)
To: Chu Guangqing
Cc: ast, daniel, andrii, martin.lau, eddyz87, song, yonghong.song,
john.fastabend, kpsingh, sdf, haoluo, jolsa, bpf, linux-kernel
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:
On Wed, 15 Oct 2025 09:50:23 +0800 you wrote:
> 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/20251014060849.3074-1-chuguangqing@inspur.com/
> )
> v1:
> (https://lore.kernel.org/all/20251014023450.1023-1-chuguangqing@inspur.com/)
>
> [...]
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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread