From mboxrd@z Thu Jan 1 00:00:00 1970 From: Okash Khawaja Subject: [PATCH bpf 0/1] bpf: btf: Fix endianness of bitfields Date: Sun, 8 Jul 2018 17:22:02 -0700 Message-ID: <20180709002202.019053555@fb.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , , To: Daniel Borkmann , Martin KaFai Lau , Alexei Starovoitov , Yonghong Song , Jakub Kicinski , "David S. Miller" Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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