* [PATCH] docs: bpf: fix minor typos in BTF comments
@ 2025-08-01 13:29 Ankan Biswas
2025-08-01 16:39 ` Yonghong Song
0 siblings, 1 reply; 3+ messages in thread
From: Ankan Biswas @ 2025-08-01 13:29 UTC (permalink / raw)
To: Martin KaFai Lau, Alexei Starovoitov, Andrii Nakryiko,
Daniel Borkmann
Cc: bpf, linux-kernel
From 85f5a63a12a8544440c0af47214ba5f55c348c7c Mon Sep 17 00:00:00 2001
From: Ankan Biswas <spyjetfayed@gmail.com>
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,"
Signed-off-by: Ankan Biswas <spyjetfayed@gmail.com>
---
kernel/bpf/btf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c
index 64739308902f..a0ecf162918c 100644
--- a/kernel/bpf/btf.c
+++ b/kernel/bpf/btf.c
@@ -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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] docs: bpf: fix minor typos in BTF comments
2025-08-01 13:29 [PATCH] docs: bpf: fix minor typos in BTF comments Ankan Biswas
@ 2025-08-01 16:39 ` Yonghong Song
2025-08-01 17:01 ` Ankan Biswas
0 siblings, 1 reply; 3+ messages in thread
From: Yonghong Song @ 2025-08-01 16:39 UTC (permalink / raw)
To: Ankan Biswas, Martin KaFai Lau, Alexei Starovoitov,
Andrii Nakryiko, Daniel Borkmann
Cc: bpf, linux-kernel
On 8/1/25 6:29 AM, Ankan Biswas wrote:
> From 85f5a63a12a8544440c0af47214ba5f55c348c7c Mon Sep 17 00:00:00 2001
> From: Ankan Biswas <spyjetfayed@gmail.com>
> 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,"
>
> Signed-off-by: Ankan Biswas <spyjetfayed@gmail.com>
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 <yonghong.song@linux.dev>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] docs: bpf: fix minor typos in BTF comments
2025-08-01 16:39 ` Yonghong Song
@ 2025-08-01 17:01 ` Ankan Biswas
0 siblings, 0 replies; 3+ messages in thread
From: Ankan Biswas @ 2025-08-01 17:01 UTC (permalink / raw)
To: Yonghong Song, Martin KaFai Lau, Alexei Starovoitov,
Andrii Nakryiko, Daniel Borkmann
Cc: bpf, linux-kernel
On 8/1/25 10:09 PM, Yonghong Song wrote:
>
>
> On 8/1/25 6:29 AM, Ankan Biswas wrote:
>> From 85f5a63a12a8544440c0af47214ba5f55c348c7c Mon Sep 17 00:00:00 2001
>> From: Ankan Biswas <spyjetfayed@gmail.com>
>> 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,"
>>
>> Signed-off-by: Ankan Biswas <spyjetfayed@gmail.com>
>
> 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 <yonghong.song@linux.dev>
>
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-08-01 17:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-01 13:29 [PATCH] docs: bpf: fix minor typos in BTF comments Ankan Biswas
2025-08-01 16:39 ` Yonghong Song
2025-08-01 17:01 ` Ankan Biswas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox