Re: [PATCH v2 bpf-next 3/9] selftests/bpf: normalize all the rest SEC() uses

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

 



On Mon, Sep 20, 2021 at 10:41 PM Dave Marchevsky <davemarchevsky@xxxxxx> wrote:
>
> On 9/20/21 7:43 PM, Andrii Nakryiko wrote:
> > Normalize all the other non-conforming SEC() usages across all
> > selftests. This is in preparation for libbpf to start to enforce
> > stricter SEC() rules in libbpf 1.0 mode.
> >
> > Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx>
> > ---
> >  .../selftests/bpf/prog_tests/flow_dissector.c |  4 +--
> >  .../selftests/bpf/prog_tests/sockopt_multi.c  | 30 +++++++++----------
> >  tools/testing/selftests/bpf/progs/bpf_flow.c  |  3 +-
> >  .../bpf/progs/cg_storage_multi_isolated.c     |  4 +--
> >  .../bpf/progs/cg_storage_multi_shared.c       |  4 +--
> >  .../selftests/bpf/progs/sockopt_multi.c       |  5 ++--
> >  .../selftests/bpf/progs/test_cgroup_link.c    |  4 +--
> >  .../bpf/progs/test_misc_tcp_hdr_options.c     |  2 +-
> >  .../selftests/bpf/progs/test_sk_lookup.c      |  6 ++--
> >  .../selftests/bpf/progs/test_sockmap_listen.c |  2 +-
> >  .../progs/test_sockmap_skb_verdict_attach.c   |  2 +-
> >  .../bpf/progs/test_tcp_check_syncookie_kern.c |  2 +-
> >  .../bpf/progs/test_tcp_hdr_options.c          |  2 +-
> >  .../selftests/bpf/test_tcp_check_syncookie.sh |  2 +-
>
> Ran test_tcp_check_syncookie.sh as CI suite doesn't - works.
>

Thanks for the due diligence!

> checkpatch has some line length complaints, otherwise LGTM

Keep in mind that checkpatch is not the absolute authority. I think it
also didn't get the memo about the 100 character line limit :) But
generally yes, we should try to keep it more or less happy.

>
> Acked-by: Dave Marchevsky <davemarchevsky@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