[PATCH] docs: bpf: fix minor typos in BTF comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From 85f5a63a12a8544440c0af47214ba5f55c348c7c Mon Sep 17 00:00:00 2001
From: Ankan Biswas <spyjetfayed@xxxxxxxxx>
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@xxxxxxxxx>
---
 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





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux