Re: [PATCH bpf-next v2] selftests/bpf: Fix endianness issue in sk_assign

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

 



On Tue, Sep 15, 2020 at 6:19 PM Andrii Nakryiko
<andrii.nakryiko@xxxxxxxxx> wrote:
>
> On Tue, Sep 15, 2020 at 4:38 AM Ilya Leoshkevich <iii@xxxxxxxxxxxxx> wrote:
> >
> > server_map's value size is 8, but the test tries to put an int there.
> > This sort of works on x86 (unless followed by non-0), but hard fails on
> > s390.
> >
> > Fix by using __s64 instead of int.
> >
> > Fixes: 2d7824ffd25c ("selftests: bpf: Add test for sk_assign")
> > Signed-off-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx>
> > ---
> >
> > v1->v2: Use __s64.
>
> Acked-by: Andrii Nakryiko <andriin@xxxxxx>

Acked-by: Song Liu <songliubraving@xxxxxx>

[...]



[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