[PATCH bpf-next v3 0/1] btf_dump fixes for s390

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



v2: https://lore.kernel.org/bpf/20211013160902.428340-1-iii@xxxxxxxxxxxxx/
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@xxxxxxxxxxxxx/
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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux