Re: [PATCH v3 bpf-next 0/2] Provide NULL and KERNEL_VERSION macros in bpf_helpers.h

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

 



On 3/17/21 1:05 PM, Andrii Nakryiko wrote:
Provide NULL and KERNEL_VERSION macros in bpf_helpers.h. Patch #2 removes such
custom NULL definition from one of the selftests.

v2->v3:
   - instead of vmlinux.h, do this in bpf_helpers.h;
   - added KERNEL_VERSION, which comes up periodically as well;
   - I dropped strict compilation patches for now, because we run into new
     warnings (e.g., not checking read() result) in kernel-patches CI, which
     I can't even reproduce locally. Also -Wdiscarded-qualifiers pragma for
     jit_disasm.c is not supported by Clang, it needs to be
     -Wincompatible-pointer-types-discards-qualifiers for Clang; we don't have
     to deal with that in this patch set;
v1->v2:
   - fix few typos and wrong copy/paste;
   - fix #pragma push -> pop.

Applied.



[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