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

2018-07-08 Thread Okash Khawaja
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 thi

[PATCH bpf 1/1] bpf: btf: Fix bitfield extraction for big endian

2018-07-08 Thread Okash Khawaja
for the help in navigating potential pitfalls when dealing with endianess and for the final solution. Fixes: b00b8daec828 ("bpf: btf: Add pretty print capability for data with BTF type info") Signed-off-by: Okash Khawaja --- kernel/bpf/btf.c | 32 +++---

Re: [PATCH 2/2] adm8211: fix the possible pci cache line sizes inside switch-case

2015-05-11 Thread Okash Khawaja
> On 11 May 2015, at 14:24, Jonas Gorski wrote: > > Hi, > >> On Mon, May 11, 2015 at 12:38 PM, Kalle Valo wrote: >> Okash Khawaja writes: >> >>> Sure, I'll create v2 of the patch with updated commit log. >>> >>> Since it's

[PATCH 0/2] adm8211 patches

2015-05-05 Thread Okash Khawaja
These patches include two changes: 1. Code cleanup around a switch-case statement 2. Bug fix for the possible PCI cache line sizes Okash Khawaja (2): adm8211: fix checkpatch errors for indentation and new line adm8211: fix the possible pci cache line sizes inside switch-case drivers/net