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 ../drivers/ptp/ptp_s390.c:21:52: warning: ‘union tod_clock’ declared inside parameter list will not be visible outside of this definition or declaration 21 | static struct timespec64 eitod_to_timespec64(union tod_clock *clk) | ^~~~~~~~~ ../drivers/ptp/ptp_s390.c: In function ‘eitod_to_timespec64’: ../drivers/ptp/ptp_s390.c:23:33: error: implicit declaration of function ‘eitod_to_ns’ [-Wimplicit-function-declaration] 23 | return ns_to_timespec64(eitod_to_ns(clk)); | ^~~~~~~~~~~ ../drivers/ptp/ptp_s390.c: In function ‘tod_to_timespec64’: ../drivers/ptp/ptp_s390.c:28:33: error: implicit declaration of function ‘tod_to_ns’ [-Wimplicit-function-declaration] 28 | return ns_to_timespec64(tod_to_ns(tod - TOD_UNIX_EPOCH)); | ^~~~~~~~~ ../drivers/ptp/ptp_s390.c:28:49: error: ‘TOD_UNIX_EPOCH’ undeclared (first use in this function) 28 | return ns_to_timespec64(tod_to_ns(tod - TOD_UNIX_EPOCH)); | ^~~~~~~~~~~~~~ ../drivers/ptp/ptp_s390.c:28:49: note: each undeclared identifier is reported only once for each function it appears in ../drivers/ptp/ptp_s390.c: In function ‘ptp_s390_stcke_gettime’: ../drivers/ptp/ptp_s390.c:34:25: error: storage size of ‘tod’ isn’t known 34 | union tod_clock tod; | ^~~ ../drivers/ptp/ptp_s390.c:36:14: error: implicit declaration of function ‘stp_enabled’; did you mean ‘sme_enable’? [-Wimplicit-function-declaration] 36 | if (!stp_enabled()) | ^~~~~~~~~~~ | sme_enable ../drivers/ptp/ptp_s390.c:39:9: error: implicit declaration of function ‘store_tod_clock_ext_cc’ [-Wimplicit-function-declaration] 39 | store_tod_clock_ext_cc(&tod); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/ptp/ptp_s390.c:34:25: warning: unused variable ‘tod’ [-Wunused-variable] 34 | union tod_clock tod; | ^~~ ../drivers/ptp/ptp_s390.c: In function ‘ptp_s390_qpt_gettime’: ../drivers/ptp/ptp_s390.c:49:9: error: implicit declaration of function ‘ptff’ [-Wimplicit-function-declaration] 49 | ptff(&tod, sizeof(tod), PTFF_QPT); | ^~~~ ../drivers/ptp/ptp_s390.c:49:33: error: ‘PTFF_QPT’ undeclared (first use in this function) 49 | ptff(&tod, sizeof(tod), PTFF_QPT); | ^~~~~~~~ ../drivers/ptp/ptp_s390.c: In function ‘s390_arch_ptp_get_crosststamp’: ../drivers/ptp/ptp_s390.c:64:25: error: storage size of ‘clk’ isn’t known 64 | union tod_clock clk; | ^~~ ../drivers/ptp/ptp_s390.c:67:56: error: ‘TOD_UNIX_EPOCH’ undeclared (first use in this function) 67 | *device_time = ns_to_ktime(tod_to_ns(clk.tod - TOD_UNIX_EPOCH)); | ^~~~~~~~~~~~~~ ../drivers/ptp/ptp_s390.c:64:25: warning: unused variable ‘clk’ [-Wunused-variable] 64 | union tod_clock clk; | ^~~ ../drivers/ptp/ptp_s390.c: In function ‘tod_to_timespec64’: ../drivers/ptp/ptp_s390.c:29:1: error: control reaches end of non-void function [-Werror=return-type] 29 | } | ^ cc1: some warnings being treated as errors make[5]: *** [../scripts/Makefile.build:229: drivers/ptp/ptp_s390.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: drivers/ptp] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 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 ../kernel/sys.c:1111:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1111:32: expected struct task_struct *p1 ../kernel/sys.c:1111:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1858:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:321:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" 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 ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../kernel/sys.c:1111:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1111:32: expected struct task_struct *p1 ../kernel/sys.c:1111:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1858:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/ptp/ptp_s390.c:21:52: warning: ‘union tod_clock’ declared inside parameter list will not be visible outside of this definition or declaration 21 | static struct timespec64 eitod_to_timespec64(union tod_clock *clk) | ^~~~~~~~~ ../drivers/ptp/ptp_s390.c: In function ‘eitod_to_timespec64’: ../drivers/ptp/ptp_s390.c:23:33: error: implicit declaration of function ‘eitod_to_ns’ [-Wimplicit-function-declaration] 23 | return ns_to_timespec64(eitod_to_ns(clk)); | ^~~~~~~~~~~ ../drivers/ptp/ptp_s390.c: In function ‘tod_to_timespec64’: ../drivers/ptp/ptp_s390.c:28:33: error: implicit declaration of function ‘tod_to_ns’ [-Wimplicit-function-declaration] 28 | return ns_to_timespec64(tod_to_ns(tod - TOD_UNIX_EPOCH)); | ^~~~~~~~~ ../drivers/ptp/ptp_s390.c:28:49: error: ‘TOD_UNIX_EPOCH’ undeclared (first use in this function) 28 | return ns_to_timespec64(tod_to_ns(tod - TOD_UNIX_EPOCH)); | ^~~~~~~~~~~~~~ ../drivers/ptp/ptp_s390.c:28:49: note: each undeclared identifier is reported only once for each function it appears in ../drivers/ptp/ptp_s390.c: In function ‘ptp_s390_stcke_gettime’: ../drivers/ptp/ptp_s390.c:34:25: error: storage size of ‘tod’ isn’t known 34 | union tod_clock tod; | ^~~ ../drivers/ptp/ptp_s390.c:36:14: error: implicit declaration of function ‘stp_enabled’; did you mean ‘sme_enable’? [-Wimplicit-function-declaration] 36 | if (!stp_enabled()) | ^~~~~~~~~~~ | sme_enable ../drivers/ptp/ptp_s390.c:39:9: error: implicit declaration of function ‘store_tod_clock_ext_cc’ [-Wimplicit-function-declaration] 39 | store_tod_clock_ext_cc(&tod); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/ptp/ptp_s390.c:34:25: warning: unused variable ‘tod’ [-Wunused-variable] 34 | union tod_clock tod; | ^~~ ../drivers/ptp/ptp_s390.c: In function ‘ptp_s390_qpt_gettime’: ../drivers/ptp/ptp_s390.c:49:9: error: implicit declaration of function ‘ptff’ [-Wimplicit-function-declaration] 49 | ptff(&tod, sizeof(tod), PTFF_QPT); | ^~~~ ../drivers/ptp/ptp_s390.c:49:33: error: ‘PTFF_QPT’ undeclared (first use in this function) 49 | ptff(&tod, sizeof(tod), PTFF_QPT); | ^~~~~~~~ ../drivers/ptp/ptp_s390.c: In function ‘s390_arch_ptp_get_crosststamp’: ../drivers/ptp/ptp_s390.c:64:25: error: storage size of ‘clk’ isn’t known 64 | union tod_clock clk; | ^~~ ../drivers/ptp/ptp_s390.c:67:56: error: ‘TOD_UNIX_EPOCH’ undeclared (first use in this function) 67 | *device_time = ns_to_ktime(tod_to_ns(clk.tod - TOD_UNIX_EPOCH)); | ^~~~~~~~~~~~~~ ../drivers/ptp/ptp_s390.c:64:25: warning: unused variable ‘clk’ [-Wunused-variable] 64 | union tod_clock clk; | ^~~ ../drivers/ptp/ptp_s390.c: In function ‘tod_to_timespec64’: ../drivers/ptp/ptp_s390.c:29:1: error: control reaches end of non-void function [-Werror=return-type] 29 | } | ^ cc1: some warnings being treated as errors make[5]: *** [../scripts/Makefile.build:229: drivers/ptp/ptp_s390.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: drivers/ptp] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:321:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 New errors added --- /tmp/tmp.2CY9Go1NgW 2024-10-15 15:01:39.358515868 -0700 +++ /tmp/tmp.jvPV0aFnaJ 2024-10-15 15:02:08.099279603 -0700 @@ -3,0 +4 @@ +../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit @@ -8 +9,54 @@ -../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit +../drivers/ptp/ptp_s390.c:21:52: warning: ‘union tod_clock’ declared inside parameter list will not be visible outside of this definition or declaration + 21 | static struct timespec64 eitod_to_timespec64(union tod_clock *clk) + | ^~~~~~~~~ +../drivers/ptp/ptp_s390.c: In function ‘eitod_to_timespec64’: +../drivers/ptp/ptp_s390.c:23:33: error: implicit declaration of function ‘eitod_to_ns’ [-Wimplicit-function-declaration] + 23 | return ns_to_timespec64(eitod_to_ns(clk)); + | ^~~~~~~~~~~ +../drivers/ptp/ptp_s390.c: In function ‘tod_to_timespec64’: +../drivers/ptp/ptp_s390.c:28:33: error: implicit declaration of function ‘tod_to_ns’ [-Wimplicit-function-declaration] + 28 | return ns_to_timespec64(tod_to_ns(tod - TOD_UNIX_EPOCH)); + | ^~~~~~~~~ +../drivers/ptp/ptp_s390.c:28:49: error: ‘TOD_UNIX_EPOCH’ undeclared (first use in this function) + 28 | return ns_to_timespec64(tod_to_ns(tod - TOD_UNIX_EPOCH)); + | ^~~~~~~~~~~~~~ +../drivers/ptp/ptp_s390.c:28:49: note: each undeclared identifier is reported only once for each function it appears in +../drivers/ptp/ptp_s390.c: In function ‘ptp_s390_stcke_gettime’: +../drivers/ptp/ptp_s390.c:34:25: error: storage size of ‘tod’ isn’t known + 34 | union tod_clock tod; + | ^~~ +../drivers/ptp/ptp_s390.c:36:14: error: implicit declaration of function ‘stp_enabled’; did you mean ‘sme_enable’? [-Wimplicit-function-declaration] + 36 | if (!stp_enabled()) + | ^~~~~~~~~~~ + | sme_enable +../drivers/ptp/ptp_s390.c:39:9: error: implicit declaration of function ‘store_tod_clock_ext_cc’ [-Wimplicit-function-declaration] + 39 | store_tod_clock_ext_cc(&tod); + | ^~~~~~~~~~~~~~~~~~~~~~ +../drivers/ptp/ptp_s390.c:34:25: warning: unused variable ‘tod’ [-Wunused-variable] + 34 | union tod_clock tod; + | ^~~ +../drivers/ptp/ptp_s390.c: In function ‘ptp_s390_qpt_gettime’: +../drivers/ptp/ptp_s390.c:49:9: error: implicit declaration of function ‘ptff’ [-Wimplicit-function-declaration] + 49 | ptff(&tod, sizeof(tod), PTFF_QPT); + | ^~~~ +../drivers/ptp/ptp_s390.c:49:33: error: ‘PTFF_QPT’ undeclared (first use in this function) + 49 | ptff(&tod, sizeof(tod), PTFF_QPT); + | ^~~~~~~~ +../drivers/ptp/ptp_s390.c: In function ‘s390_arch_ptp_get_crosststamp’: +../drivers/ptp/ptp_s390.c:64:25: error: storage size of ‘clk’ isn’t known + 64 | union tod_clock clk; + | ^~~ +../drivers/ptp/ptp_s390.c:67:56: error: ‘TOD_UNIX_EPOCH’ undeclared (first use in this function) + 67 | *device_time = ns_to_ktime(tod_to_ns(clk.tod - TOD_UNIX_EPOCH)); + | ^~~~~~~~~~~~~~ +../drivers/ptp/ptp_s390.c:64:25: warning: unused variable ‘clk’ [-Wunused-variable] + 64 | union tod_clock clk; + | ^~~ +../drivers/ptp/ptp_s390.c: In function ‘tod_to_timespec64’: +../drivers/ptp/ptp_s390.c:29:1: error: control reaches end of non-void function [-Werror=return-type] + 29 | } + | ^ +cc1: some warnings being treated as errors +make[5]: *** [../scripts/Makefile.build:229: drivers/ptp/ptp_s390.o] Error 1 +make[4]: *** [../scripts/Makefile.build:478: drivers/ptp] Error 2 +make[4]: *** Waiting for unfinished jobs.... @@ -11 +65,5 @@ -WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o +make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1936: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 +make: *** [Makefile:224: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.9bT5gsJLPd 2024-10-15 15:02:08.107279537 -0700 +++ /tmp/tmp.hGzYqF0iVW 2024-10-15 15:02:08.110279512 -0700 @@ -2,0 +3 @@ + 14 ../drivers/ptp/ptp_s390.c