BPF List
 help / color / mirror / Atom feed
From: Dima Tisnek <dimaqq@gmail.com>
To: bpf@vger.kernel.org
Cc: Dima Tisnek <dimaqq@gmail.com>
Subject: [PATCH bpf-next] Correct bpf_core_read.h comment wrt bpf_core_relo struct
Date: Sun, 21 Jan 2024 15:01:26 +0900	[thread overview]
Message-ID: <20240121060126.15650-1-dimaqq@gmail.com> (raw)

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

Signed-off-by: Dima Tisnek <dimaqq@gmail.com>
---
 tools/lib/bpf/bpf_core_read.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/lib/bpf/bpf_core_read.h b/tools/lib/bpf/bpf_core_read.h
index 7325a12692a3..5aec301e9585 100644
--- a/tools/lib/bpf/bpf_core_read.h
+++ b/tools/lib/bpf/bpf_core_read.h
@@ -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
-- 
2.43.0


             reply	other threads:[~2024-01-21  6:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-21  6:01 Dima Tisnek [this message]
2024-01-22  5:20 ` [PATCH bpf-next] Correct bpf_core_read.h comment wrt bpf_core_relo struct Yonghong Song
2024-01-24  4:50 ` patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240121060126.15650-1-dimaqq@gmail.com \
    --to=dimaqq@gmail.com \
    --cc=bpf@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox