[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190716162349.4fsq3pjuigsfwfbo@ast-mbp.dhcp.thefacebook.com>
Date: Tue, 16 Jul 2019 09:23:50 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Ilya Leoshkevich <iii@...ux.ibm.com>
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org, gor@...ux.ibm.com,
heiko.carstens@...ibm.com, daniel@...earbox.net, ys114321@...il.com
Subject: Re: [PATCH bpf v3] selftests/bpf: fix "alu with different scalars 1"
on s390
On Tue, Jul 16, 2019 at 12:53:53PM +0200, Ilya Leoshkevich wrote:
> BPF_LDX_MEM is used to load the least significant byte of the retrieved
> test_val.index, however, on big-endian machines it ends up retrieving
> the most significant byte.
>
> Change the test to load the whole int in order to make it
> endianness-independent.
>
> Signed-off-by: Ilya Leoshkevich <iii@...ux.ibm.com>
Applied, Thanks
Powered by blists - more mailing lists