Message ID | 1638755236-3851199-1-git-send-email-hxseverything@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 222c98c7979084fbefb4ce2ae377210c6e42011e |
Delegated to: | BPF |
Headers | show |
Series | libbpf: Fix trivial typo | expand |
Context | Check | Description |
---|---|---|
bpf/vmtest-bpf-next | success | VM_Test |
bpf/vmtest-bpf-next-PR | success | PR summary |
netdev/tree_selection | success | Not a local patch |
Hello: This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <andrii@kernel.org>: On Mon, 6 Dec 2021 09:47:16 +0800 you wrote: > From: huangxuesen <huangxuesen@kuaishou.com> > > 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> > > [...] Here is the summary with links: - libbpf: Fix trivial typo https://git.kernel.org/bpf/bpf-next/c/222c98c79790 You are awesome, thank you!
diff --git a/tools/lib/bpf/libbpf.h b/tools/lib/bpf/libbpf.h index c0d62dd..2fa046a9 100644 --- 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; };