========== build_32bit - FAILED WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] 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 WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] 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: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] 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[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.T2MpWBMb5e 2024-10-15 12:29:06.342147113 -0700 +++ /tmp/tmp.lEkZunVxO7 2024-10-15 12:29:31.455943436 -0700 @@ -13,0 +14,59 @@ +../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[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.BhHvnli6Ds 2024-10-15 12:29:31.462943379 -0700 +++ /tmp/tmp.RWUr1FpqoJ 2024-10-15 12:29:31.466943346 -0700 @@ -0,0 +1 @@ + 14 ../drivers/ptp/ptp_s390.c