docs: bpf: fix minor typos in BTF comments
PATCH 1/1 docs: bpf: fix minor typos in BTF comments
From 85f5a63a12a8544440c0af47214ba5f55c348c7c Mon Sep 17 00:00:00 2001
From: Ankan Biswas <[email protected]>
Date: Fri, 1 Aug 2025 18:25:21 +0530
Subject: [PATCH] docs: bpf: fix minor typos in BTF comments
Fix a couple of small typos in the BTF documentation comments:
* "focus" → "focuses"
* "F.e." → "For example,"
---
kernel/bpf/btf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
kernel/bpf/btf.c +0 -0
@@ -35,7 +35,7 @@
#include "../tools/lib/bpf/relo_core.h"
/* BTF (BPF Type Format) is the meta data format which describes
- * the data types of BPF program/map. Hence, it basically focus
+ * the data types of BPF program/map. Hence, it basically focuses
* on the C programming language which the modern BPF is primary
* using.
*
@@ -47,7 +47,7 @@
* ~~~~~~~~~~~~~~~
* Each 'struct btf_type' object describes a C data type.
* Depending on the type it is describing, a 'struct btf_type'
- * object may be followed by more data. F.e.
+ * object may be followed by more data. For example,
* To describe an array, 'struct btf_type' is followed by
* 'struct btf_array'.
*
--
2.50.1
Quoted 10 lines · Ankan Biswas
From
85f5a63a12a8544440c0af47214ba5f55c348c7cMon Sep 17 00:00:00 2001
From: Ankan Biswas <[email protected]>
Date: Fri, 1 Aug 2025 18:25:21 +0530
Subject: [PATCH] docs: bpf: fix minor typos in BTF commentsFix a couple of small typos in the BTF documentation comments:
* "focus" → "focuses"
* "F.e." → "For example,"Signed-off-by Ankan Biswas <[email protected]>
LGTM. I am wondering whether these are the only typo's or not. How did you find these, just with visual checking when you read the doc?
Quoted 12 lines · Yonghong Song
Quoted 9 lines · Ankan Biswas
From
85f5a63a12a8544440c0af47214ba5f55c348c7cMon Sep 17 00:00:00 2001
From: Ankan Biswas <[email protected]>
Date: Fri, 1 Aug 2025 18:25:21 +0530
Subject: [PATCH] docs: bpf: fix minor typos in BTF commentsFix a couple of small typos in the BTF documentation comments:
* "focus" → "focuses"
* "F.e." → "For example,"
Quoted 8 lines
Quoted 1 line
Signed-off-by Ankan Biswas <[email protected]>LGTM. I am wondering whether these are the only typo's or not. How did you find these, just with visual checking when you read the doc?
Acked-by Yonghong Song <[email protected]>
Was looking at some other stuff and happened to come across. There may be more, I did not go through the all the comments, will try to fix them if I notice.