Skip to contentSkip to conversation

Correct bpf_core_read.h comment wrt bpf_core_relo struct

PATCH Applied Dima Tisnek 3 participants 3 messages Jan 21, 2024 – Jan 24, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Correct bpf_core_read.h comment wrt bpf_core_relo struct

Past commits, like 28b93c64499ae09d9dc8c04123b15f8654a93c4c, have removed the last vestiges of struct bpf_field_reloc, it's called struct bpf_core_relo now.

---
 tools/lib/bpf/bpf_core_read.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/lib/bpf/bpf_core_read.h +1 -1
index 7325a12692a3..5aec301e9585 100644
@@ -268,7 +268,7 @@ enum bpf_enum_value_kind {
  * a relocation, which records BTF type ID describing root struct/union and an
  * accessor string which describes exact embedded field that was used to take
  * an address. See detailed description of this relocation format and
- * semantics in comments to struct bpf_field_reloc in libbpf_internal.h.
+ * semantics in comments to struct bpf_core_relo in include/uapi/linux/bpf.h.
  *
  * This relocation allows libbpf to adjust BPF instruction to use correct
  * actual field offset, based on target kernel BTF type that matches original
Signature · 1 line
2.43.0
#2 lore raw
In reply to Dima Tisnek
This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <[email protected]>:

Hello:

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

Quoted 7 lines · On Sun, 21 Jan 2024 15:01:26 +0900 you wrote:

Past commits, like 28b93c64499ae09d9dc8c04123b15f8654a93c4c, have removed the last vestiges of struct bpf_field_reloc, it's called struct bpf_core_relo now.

---
 tools/lib/bpf/bpf_core_read.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [bpf-next] Correct bpf_core_read.h comment wrt bpf_core_relo struct

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

You are awesome, thank you!

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