[PATCH bpf-next 0/2] selftests/bpf: Fix number of arguments in test

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

 



Hi everyone,

This patch series is in the context of GCC support.
GCC errors when number of arguments does not fit within the
requirements of BPF.
These patches fixes the functions that contain 6 arguments by
combining those in an array.

Best regards,
Cupertino

Cc: Alexei Starovoitov <alexei.starovoitov@xxxxxxxxx>
Cc: Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx>
Cc: Eduard Zingerman <eddyz87@xxxxxxxxx>
Cc: Yonghong Song <yonghong.song@xxxxxxxxx>
Cc: David Faust <david.faust@xxxxxxxxxx>
Cc: Jose Marchesi <jose.marchesi@xxxxxxxxxx>
Cc: Elena Zannoni <elena.zannoni@xxxxxxxxxx>

Cupertino Miranda (2):
  selftests/bpf: Add CFLAGS per source file and runner
  selftests/bpf: Change functions definitions to support GCC

 tools/testing/selftests/bpf/Makefile             | 16 +++++++++-------
 .../selftests/bpf/progs/test_xdp_noinline.c      | 15 +++++++++------
 2 files changed, 18 insertions(+), 13 deletions(-)

-- 
2.39.2





[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