tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../net/smc/af_smc.c:22:9: warning: "pr_fmt" redefined 22 | #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt | ^~~~~~ In file included from ../include/linux/kernel.h:31, from ../include/linux/uio.h:8, from ../include/linux/socket.h:8, from ../net/smc/af_smc.c:20: ../include/linux/printk.h:380:9: note: this is the location of the previous definition 380 | #define pr_fmt(fmt) fmt | ^~~~~~ ../net/smc/af_smc.c:22:9: warning: preprocessor token pr_fmt redefined ../net/smc/af_smc.c: note: in included file (through ../include/linux/kernel.h, ../include/linux/uio.h, ../include/linux/socket.h): ../include/linux/printk.h:380:9: this was the original definition WARNING: modpost: missing MODULE_DESCRIPTION() in security/tomoyo/tomoyo.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files WARNING: modpost: missing MODULE_DESCRIPTION() in security/tomoyo/tomoyo.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../net/smc/af_smc.c:22:9: warning: "pr_fmt" redefined 22 | #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt | ^~~~~~ In file included from ../include/linux/kernel.h:31, from ../include/linux/uio.h:8, from ../include/linux/socket.h:8, from ../net/smc/af_smc.c:20: ../include/linux/printk.h:380:9: note: this is the location of the previous definition 380 | #define pr_fmt(fmt) fmt | ^~~~~~ ../net/smc/af_smc.c:22:9: warning: preprocessor token pr_fmt redefined ../net/smc/af_smc.c: note: in included file (through ../include/linux/kernel.h, ../include/linux/uio.h, ../include/linux/socket.h): ../include/linux/printk.h:380:9: this was the original definition WARNING: modpost: missing MODULE_DESCRIPTION() in security/tomoyo/tomoyo.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o New errors added --- /tmp/tmp.5bDw7V4Ibu 2024-10-04 22:05:29.994780774 -0700 +++ /tmp/tmp.zaeyj2fkbr 2024-10-04 22:06:34.743033925 -0700 @@ -3,0 +4,13 @@ +../net/smc/af_smc.c:22:9: warning: "pr_fmt" redefined + 22 | #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt + | ^~~~~~ +In file included from ../include/linux/kernel.h:31, + from ../include/linux/uio.h:8, + from ../include/linux/socket.h:8, + from ../net/smc/af_smc.c:20: +../include/linux/printk.h:380:9: note: this is the location of the previous definition + 380 | #define pr_fmt(fmt) fmt + | ^~~~~~ +../net/smc/af_smc.c:22:9: warning: preprocessor token pr_fmt redefined +../net/smc/af_smc.c: note: in included file (through ../include/linux/kernel.h, ../include/linux/uio.h, ../include/linux/socket.h): +../include/linux/printk.h:380:9: this was the original definition Per-file breakdown --- /tmp/tmp.VozkcE9WHs 2024-10-04 22:06:34.749034041 -0700 +++ /tmp/tmp.Xz3DdGGWij 2024-10-04 22:06:34.753034118 -0700 @@ -0,0 +1 @@ + 2 ../net/smc/af_smc.c