BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next v3 0/1] btf_dump fixes for s390
@ 2021-10-21 10:46 Ilya Leoshkevich
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Ilya Leoshkevich @ 2021-10-21 10:46 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko
  Cc: bpf, Heiko Carstens, Vasily Gorbik, Ilya Leoshkevich

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-21 23:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-21 10:46 [PATCH bpf-next v3 0/1] btf_dump fixes for s390 Ilya Leoshkevich
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox