Skip to contentSkip to conversation

bpf: Sync uapi bpf.h header for the tooling infra

PATCH Applied Yonghong Song 2 participants 2 messages Feb 13, 2025 BPF

lore
Share & tools
lore

Yonghong Song

author reviewer
#0 lore raw

PATCH 1/1 bpf: Sync uapi bpf.h header for the tooling infra

Commit 0abff462d802 ("bpf: Add comment about helper freeze") missed the tooling header sync. Fix it.

---
 tools/include/uapi/linux/bpf.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
tools/include/uapi/linux/bpf.h +4 -1
index 2acf9b336371..fff6cdb8d11a 100644
@@ -6019,7 +6019,10 @@ union bpf_attr {
 	FN(user_ringbuf_drain, 209, ##ctx)		\
 	FN(cgrp_storage_get, 210, ##ctx)		\
 	FN(cgrp_storage_delete, 211, ##ctx)		\
-	/* */
+	/* This helper list is effectively frozen. If you are trying to	\
+	 * add a new helper, you should add a kfunc instead which has	\
+	 * less stability guarantees. See Documentation/bpf/kfuncs.rst	\
+	 */
 
 /* backwards-compatibility macros for users of __BPF_FUNC_MAPPER that don't
  * know or care about integer value that is now passed as second argument
Signature · 1 line
2.43.5
#1 lore raw
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:

Hello:

This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:

Quoted 7 lines · On Wed, 12 Feb 2025 21:04:27 -0800 you wrote:

Commit 0abff462d802 ("bpf: Add comment about helper freeze") missed the tooling header sync. Fix it.

---
 tools/include/uapi/linux/bpf.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Here is the summary with links:
- [bpf-next] bpf: Sync uapi bpf.h header for the tooling infra

    https://git.kernel.org/bpf/bpf-next/c/f18169c89ea7

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html