All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ilya Leoshkevich <iii@linux.ibm.com>
To: Alexei Starovoitov <ast@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Andrii Nakryiko <andrii.nakryiko@gmail.com>
Cc: bpf@vger.kernel.org, Heiko Carstens <hca@linux.ibm.com>,
	Vasily Gorbik <gor@linux.ibm.com>,
	Ilya Leoshkevich <iii@linux.ibm.com>
Subject: [PATCH bpf-next v3 0/1] btf_dump fixes for s390
Date: Thu, 21 Oct 2021 12:46:57 +0200	[thread overview]
Message-ID: <20211021104658.624944-1-iii@linux.ibm.com> (raw)

v2: https://lore.kernel.org/bpf/20211013160902.428340-1-iii@linux.ibm.com/
v2 -> v3:
- Drop committed patches.
- Handle potential division by zero when using btf__align_of(). Use
  btf__align_of() in btf_dump_ptr_data() instead of the direct ptr_sz
  access: although it's slightly slower, the result is the same and the
  resulting code is more uniform.

v1: https://lore.kernel.org/bpf/20211012023218.399568-1-iii@linux.ibm.com/
v1 -> v2:
- Remove redundant local variables, use t->size directly instead.
- Add btf__align_of() patch.

Ilya Leoshkevich (1):
  libbpf: Fix ptr_is_aligned() usages

 tools/lib/bpf/btf_dump.c | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

-- 
2.31.1


             reply	other threads:[~2021-10-21 10:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21 10:46 Ilya Leoshkevich [this message]
2021-10-21 10:46 ` [PATCH bpf-next v3 1/1] libbpf: Fix ptr_is_aligned() usages Ilya Leoshkevich
2021-10-21 23:00 ` [PATCH bpf-next v3 0/1] btf_dump fixes for s390 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=20211021104658.624944-1-iii@linux.ibm.com \
    --to=iii@linux.ibm.com \
    --cc=andrii.nakryiko@gmail.com \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.