versioncheck: ./tools/lib/bpf/bpf_helpers.h: 146: need linux/version.h

kernel test robot
2023-01-06T17:26:00Z

head: 1f5abbd77e2c1787e74b7c2caffac97def78ba52
commit: 9ae2c26e43248b722e79fe867be38062c9dd1e5f libbpf: provide NULL and KERNEL_VERSION macros in bpf_helpers.h
date: 1 year, 10 months ago
reproduce:
make versioncheck

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>

versioncheck warnings: (new ones prefixed by >>)
INFO PATH=/opt/cross/clang/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
/usr/bin/timeout -k 100 3h /usr/bin/make W=1 --keep-going HOSTCC=gcc-11 CC=gcc-11 -j32 ARCH=x86_64 versioncheck
find ./* \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o \
-name '*.[hcS]' -type f -print | sort \
| xargs perl -w ./scripts/checkversion.pl
./arch/csky/include/asm/io.h: 8 linux/version.h not needed.
./arch/csky/include/asm/uaccess.h: 14 linux/version.h not needed.
./arch/csky/kernel/process.c: 5 linux/version.h not needed.
./arch/csky/mm/dma-mapping.c: 12 linux/version.h not needed.
./arch/s390/include/asm/setup.h: 177: need linux/version.h
./arch/um/drivers/vector_kern.c: 11 linux/version.h not needed.
./arch/x86/hyperv/hv_proc.c: 3 linux/version.h not needed.
./drivers/crypto/cavium/cpt/cptpf_main.c: 13 linux/version.h not needed.
./drivers/crypto/cavium/zip/common.h: 59 linux/version.h not needed.
./drivers/gpu/drm/pl111/pl111_display.c: 14 linux/version.h not needed.
./drivers/gpu/drm/pl111/pl111_drv.c: 47 linux/version.h not needed.
./drivers/hv/hv.c: 16 linux/version.h not needed.
./drivers/i2c/busses/i2c-brcmstb.c: 25 linux/version.h not needed.
./drivers/i2c/busses/i2c-xgene-slimpro.c: 22 linux/version.h not needed.
./drivers/media/pci/cx25821/cx25821.h: 31 linux/version.h not needed.
./drivers/media/platform/s3c-camif/camif-core.c: 26 linux/version.h not needed.
./drivers/media/platform/sti/c8sectpfe/c8sectpfe-common.h: 16 linux/version.h not needed.
./drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c: 31 linux/version.h not needed.
./drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c: 14 linux/version.h not needed.
./drivers/media/usb/uvc/uvc_driver.c: 19 linux/version.h not needed.
./drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c: 21 linux/version.h not needed.
./drivers/net/ethernet/mellanox/mlx5/core/main.c: 53 linux/version.h not needed.
./drivers/net/ethernet/qlogic/qede/qede.h: 10 linux/version.h not needed.
./drivers/net/ethernet/qlogic/qede/qede_ethtool.c: 7 linux/version.h not needed.
./drivers/net/ethernet/qlogic/qede/qede_main.c: 10 linux/version.h not needed.
./drivers/net/usb/lan78xx.c: 5 linux/version.h not needed.
./drivers/net/wireless/rsi/rsi_91x_ps.c: 19 linux/version.h not needed.
./drivers/scsi/cxgbi/libcxgbi.h: 27 linux/version.h not needed.
./drivers/scsi/qedf/qedf.h: 14 linux/version.h not needed.
./drivers/scsi/qedf/qedf_dbg.h: 13 linux/version.h not needed.
./drivers/scsi/qedi/qedi_dbg.h: 14 linux/version.h not needed.
./drivers/soc/tegra/powergate-bpmp.c: 10 linux/version.h not needed.
./drivers/staging/media/atomisp/include/linux/atomisp.h: 23 linux/version.h not needed.
./drivers/staging/rtl8723bs/include/drv_types.h: 17 linux/version.h not needed.
./drivers/staging/rtl8723bs/include/ioctl_cfg80211.h: 10 linux/version.h not needed.
./drivers/usb/core/hcd.c: 14 linux/version.h not needed.
./drivers/usb/gadget/udc/aspeed-vhub/hub.c: 33 linux/version.h not needed.
./include/linux/qed/qed_ll2_if.h: 15 linux/version.h not needed.
./include/linux/usb/composite.h: 39 linux/version.h not needed.
./init/version.c: 16 linux/version.h not needed.
./kernel/sys.c: 42 linux/version.h not needed.
./samples/bpf/sampleip_kern.c: 7 linux/version.h not needed.
./samples/bpf/trace_event_kern.c: 8 linux/version.h not needed.
./sound/soc/codecs/cs35l35.c: 12 linux/version.h not needed.
./sound/soc/codecs/cs42l42.c: 14 linux/version.h not needed.
>> ./tools/lib/bpf/bpf_helpers.h: 146: need linux/version.h
./tools/perf/include/bpf/bpf.h: 70: need linux/version.h
./tools/perf/tests/bpf-script-example.c: 49: need linux/version.h
./tools/perf/tests/bpf-script-test-kbuild.c: 21: need linux/version.h
./tools/perf/tests/bpf-script-test-prologue.c: 47: need linux/version.h
./tools/perf/tests/bpf-script-test-relocation.c: 51: need linux/version.h
./tools/testing/selftests/bpf/progs/test_map_lock.c: 4 linux/version.h not needed.
./tools/testing/selftests/bpf/progs/test_send_signal_kern.c: 4 linux/version.h not needed.
./tools/testing/selftests/bpf/progs/test_spin_lock.c: 4 linux/version.h not needed.
./tools/testing/selftests/bpf/progs/test_tcp_estats.c: 37 linux/version.h not needed.
./tools/testing/selftests/wireguard/qemu/init.c: 25 linux/version.h not needed.

--
0-DAY CI Kernel Test Service