Skip to contentSkip to conversation

docs: bpf: fix minor typos in BTF comments

PATCH In review Ankan Biswas 2 participants 3 messages Aug 1, 2025 BPF

lore
Share & tools
lore
#0 lore raw

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
index 64739308902f..a0ecf162918c 100644
@@ -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

reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Ankan Biswas

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,"

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?

#2 lore raw
Quoted 12 lines · Yonghong Song
Quoted 9 lines · Ankan Biswas

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,"

Quoted 8 lines
Quoted 1 line

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?

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.