* [PATCH] libbpf: Fix trivial typo
@ 2021-12-06 1:47 huangxuesen
2021-12-06 21:30 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: huangxuesen @ 2021-12-06 1:47 UTC (permalink / raw)
To: andrii; +Cc: ast, bpf, linux-kernel, huangxuesen
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>
---
tools/lib/bpf/libbpf.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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;
};
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] libbpf: Fix trivial typo
2021-12-06 1:47 [PATCH] libbpf: Fix trivial typo huangxuesen
@ 2021-12-06 21:30 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-12-06 21:30 UTC (permalink / raw)
To: huangxuesen; +Cc: andrii, ast, bpf, linux-kernel, huangxuesen
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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-06 21:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-06 1:47 [PATCH] libbpf: Fix trivial typo huangxuesen
2021-12-06 21:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).