aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2023-02-28 12:14:17 +0000
committerAndrew Morton <[email protected]>2023-04-08 20:45:37 +0000
commit70e79866ab36feaaed8ef26dacfbcbac6a0631c9 (patch)
tree5a09a13fcaacd9cb0ebf556aaf8a8a0606243570 /tools/lib/bpf/libbpf.c
parentmm: uninline kstrdup() (diff)
downloadkernel-70e79866ab36feaaed8ef26dacfbcbac6a0631c9.tar.gz
kernel-70e79866ab36feaaed8ef26dacfbcbac6a0631c9.zip
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
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));