summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2023-02-28 15:14:17 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-04-08 13:45:37 -0700
commit70e79866ab36feaaed8ef26dacfbcbac6a0631c9 (patch)
tree5a09a13fcaacd9cb0ebf556aaf8a8a0606243570 /tools/lib/bpf/libbpf.c
parent2a6772ebf05a9b6bc450e42bbb459f6327f68aca (diff)
downloadlinux-70e79866ab36feaaed8ef26dacfbcbac6a0631c9.tar.gz
linux-70e79866ab36feaaed8ef26dacfbcbac6a0631c9.tar.xz
ELF: fix all "Elf" typos
ELF is acronym and therefore should be spelled in all caps. I left one exception at Documentation/arm/nwfpe/nwfpe.rst which looks like being written in the first person. Link: https://lkml.kernel.org/r/Y/3wGWQviIOkyLJW@p183 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
-rw-r--r--tools/lib/bpf/libbpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c
index 05c4db355f28..67b2f5ff185d 100644
--- a/tools/lib/bpf/libbpf.c
+++ b/tools/lib/bpf/libbpf.c
@@ -1334,7 +1334,7 @@ static int bpf_object__elf_init(struct bpf_object *obj)
goto errout;
}
- /* Elf is corrupted/truncated, avoid calling elf_strptr. */
+ /* ELF is corrupted/truncated, avoid calling elf_strptr. */
if (!elf_rawdata(elf_getscn(elf, obj->efile.shstrndx), NULL)) {
pr_warn("elf: failed to get section names strings from %s: %s\n",
obj->path, elf_errmsg(-1));