[PATCH bpf 0/1] bpf: btf: Fix endianness of bitfields

From: Okash Khawaja
Date: Sun Jul 08 2018 - 20:40:24 EST


Hi,

This patch fixes endianness bug in btf_int_bits_seq_show(). Jakub
Kicinski pointed out in a separate patch review for bpftool ("bpf: btf:
add btf print functionality") that parsing of bitfield might not work
on big endian machine. Similar parsing is performed in
btf_int_bits_seq_show() and this patch fixes it.

Thanks,
Okash