On Thu 08 Aug 2024 02:47:28 GMT, Masahiro Yamada wrote: > These files do not use any macros defined in <linux/version.h>. > > Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx> > --- > > drivers/accessibility/speakup/genmap.c | 1 - > drivers/accessibility/speakup/makemapdata.c | 1 - > drivers/staging/media/atomisp/include/linux/atomisp.h | 1 - > samples/trace_events/trace_custom_sched.c | 1 - > sound/soc/codecs/cs42l42.c | 1 - > 5 files changed, 5 deletions(-) > Re-checking with $ git grep -rle '#include <linux/version.h>' >files-including-version.h $ <files-including-version.h xargs git grep -lr -eLINUX_VERSION_{CODE,MAJOR,PATCHLEVEL,SUBLEVEL} -e KERNEL_VERSION >using-macros-from-version.h $ diff files-including-version.h using-macros-from-version.h reveals that also tools/testing/selftests/bpf/progs/dev_cgroup.c tools/testing/selftests/bpf/progs/netcnt_prog.c tools/testing/selftests/bpf/progs/test_map_lock.c tools/testing/selftests/bpf/progs/test_send_signal_kern.c tools/testing/selftests/bpf/progs/test_spin_lock.c tools/testing/selftests/bpf/progs/test_tcp_estats.c tools/testing/selftests/wireguard/qemu/init.c are including but not using linux/version.h. This shall probably not go through kbuild tree, so it looks complete (enough) to me, thanks! Reviewed-by: Nicolas Schier <nicolas@xxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature