projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db52f57
)
libbpf: Fix trivial typo
author
huangxuesen
<huangxuesen@kuaishou.com>
Mon, 6 Dec 2021 01:47:16 +0000
(09:47 +0800)
committer
Andrii Nakryiko
<andrii@kernel.org>
Mon, 6 Dec 2021 21:23:40 +0000
(13:23 -0800)
Fix typo in comment from 'bpf_skeleton_map' to 'bpf_map_skeleton'
and from 'bpf_skeleton_prog' to 'bpf_prog_skeleton'.
Signed-off-by: huangxuesen <huangxuesen@kuaishou.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link:
https://lore.kernel.org/bpf/1638755236-3851199-1-git-send-email-hxseverything@gmail.com
tools/lib/bpf/libbpf.h
patch
|
blob
|
history
diff --git
a/tools/lib/bpf/libbpf.h
b/tools/lib/bpf/libbpf.h
index
c0d62dd
..
2fa046a
100644
(file)
--- a/
tools/lib/bpf/libbpf.h
+++ b/
tools/lib/bpf/libbpf.h
@@
-1038,11
+1038,11
@@
struct bpf_object_skeleton {
struct bpf_object **obj;
int map_cnt;
- int map_skel_sz; /* sizeof(struct bpf_
skeleton_map
) */
+ int map_skel_sz; /* sizeof(struct bpf_
map_skeleton
) */
struct bpf_map_skeleton *maps;
int prog_cnt;
- int prog_skel_sz; /* sizeof(struct bpf_
skeleton_prog
) */
+ int prog_skel_sz; /* sizeof(struct bpf_
prog_skeleton
) */
struct bpf_prog_skeleton *progs;
};