kernel/bpf/btf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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
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>
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.
© 2016 - 2025 Red Hat, Inc.