========== 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 In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:21: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_get_rx_ts_p5’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h:155:52: error: expected ‘)’ before ‘;’ token 155 | while (read_seqretry(&(ptp)->ptp_lock, seq); \ | ~ ^ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:802:9: note: in expansion of macro ‘BNXT_READ_TIME64’ 802 | BNXT_READ_TIME64(ptp, time, ptp->old_time); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h:156:1: error: expected expression before ‘}’ token 156 | } while (0) | ^ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:802:9: note: in expansion of macro ‘BNXT_READ_TIME64’ 802 | BNXT_READ_TIME64(ptp, time, ptp->old_time); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:810:1: error: expected ‘while’ before ‘void’ 810 | void bnxt_tx_ts_cmp(struct bnxt *bp, struct bnxt_napi *bnapi, | ^~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:857:12: error: invalid storage class for function ‘bnxt_ptp_verify’ 857 | static int bnxt_ptp_verify(struct ptp_clock_info *ptp_info, unsigned int pin, | ^~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:870:12: error: invalid storage class for function ‘bnxt_ptp_pps_init’ 870 | static int bnxt_ptp_pps_init(struct bnxt *bp) | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:931:13: error: invalid storage class for function ‘bnxt_pps_config_ok’ 931 | static bool bnxt_pps_config_ok(struct bnxt *bp) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:938:13: error: invalid storage class for function ‘bnxt_ptp_timecounter_init’ 938 | static void bnxt_ptp_timecounter_init(struct bnxt *bp, bool init_tc) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:998:13: error: invalid storage class for function ‘bnxt_ptp_free’ 998 | static void bnxt_ptp_free(struct bnxt *bp) | ^~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1100:1: error: expected declaration or statement at end of input 1100 | } | ^ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: At top level: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1077:6: warning: ‘bnxt_ptp_clear’ defined but not used [-Wunused-function] 1077 | void bnxt_ptp_clear(struct bnxt *bp) | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1010:5: warning: ‘bnxt_ptp_init’ defined but not used [-Wunused-function] 1010 | int bnxt_ptp_init(struct bnxt *bp, bool phc_cfg) | ^~~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.o] Error 1 make[8]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_force_fw_reset’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13488:30: warning: unused variable ‘ptp’ [-Wunused-variable] 13488 | struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; | ^~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_fw_reset’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13555:38: warning: unused variable ‘ptp’ [-Wunused-variable] 13555 | struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; | ^~~ make[7]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/broadcom/bnxt] Error 2 make[6]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/broadcom] Error 2 make[5]: *** [../scripts/Makefile.build:478: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/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/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_force_fw_reset’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13488:30: warning: unused variable ‘ptp’ [-Wunused-variable] 13488 | struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; | ^~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_fw_reset’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13555:38: warning: unused variable ‘ptp’ [-Wunused-variable] 13555 | struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; | ^~~ In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:21: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_get_rx_ts_p5’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h:155:52: error: expected ‘)’ before ‘;’ token 155 | while (read_seqretry(&(ptp)->ptp_lock, seq); \ | ~ ^ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:802:9: note: in expansion of macro ‘BNXT_READ_TIME64’ 802 | BNXT_READ_TIME64(ptp, time, ptp->old_time); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h:156:1: error: expected expression before ‘}’ token 156 | } while (0) | ^ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:802:9: note: in expansion of macro ‘BNXT_READ_TIME64’ 802 | BNXT_READ_TIME64(ptp, time, ptp->old_time); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:810:1: error: expected ‘while’ before ‘void’ 810 | void bnxt_tx_ts_cmp(struct bnxt *bp, struct bnxt_napi *bnapi, | ^~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:857:12: error: invalid storage class for function ‘bnxt_ptp_verify’ 857 | static int bnxt_ptp_verify(struct ptp_clock_info *ptp_info, unsigned int pin, | ^~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:870:12: error: invalid storage class for function ‘bnxt_ptp_pps_init’ 870 | static int bnxt_ptp_pps_init(struct bnxt *bp) | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:931:13: error: invalid storage class for function ‘bnxt_pps_config_ok’ 931 | static bool bnxt_pps_config_ok(struct bnxt *bp) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:938:13: error: invalid storage class for function ‘bnxt_ptp_timecounter_init’ 938 | static void bnxt_ptp_timecounter_init(struct bnxt *bp, bool init_tc) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:998:13: error: invalid storage class for function ‘bnxt_ptp_free’ 998 | static void bnxt_ptp_free(struct bnxt *bp) | ^~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1100:1: error: expected declaration or statement at end of input 1100 | } | ^ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: At top level: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1077:6: warning: ‘bnxt_ptp_clear’ defined but not used [-Wunused-function] 1077 | void bnxt_ptp_clear(struct bnxt *bp) | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1010:5: warning: ‘bnxt_ptp_init’ defined but not used [-Wunused-function] 1010 | int bnxt_ptp_init(struct bnxt *bp, bool phc_cfg) | ^~~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.o] Error 1 make[7]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/broadcom/bnxt] Error 2 make[6]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/broadcom] Error 2 make[5]: *** [../scripts/Makefile.build:478: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 New errors added --- /tmp/tmp.HegalrqLKn 2024-10-14 16:34:34.155805999 -0700 +++ /tmp/tmp.VrA0dr6VKd 2024-10-14 16:34:47.177687326 -0700 @@ -13,0 +14,60 @@ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_force_fw_reset’: +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13488:30: warning: unused variable ‘ptp’ [-Wunused-variable] +13488 | struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; + | ^~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_fw_reset’: +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13555:38: warning: unused variable ‘ptp’ [-Wunused-variable] +13555 | struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; + | ^~~ +In file included from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:21: +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_get_rx_ts_p5’: +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h:155:52: error: expected ‘)’ before ‘;’ token + 155 | while (read_seqretry(&(ptp)->ptp_lock, seq); \ + | ~ ^ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:802:9: note: in expansion of macro ‘BNXT_READ_TIME64’ + 802 | BNXT_READ_TIME64(ptp, time, ptp->old_time); + | ^~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h:156:1: error: expected expression before ‘}’ token + 156 | } while (0) + | ^ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:802:9: note: in expansion of macro ‘BNXT_READ_TIME64’ + 802 | BNXT_READ_TIME64(ptp, time, ptp->old_time); + | ^~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:810:1: error: expected ‘while’ before ‘void’ + 810 | void bnxt_tx_ts_cmp(struct bnxt *bp, struct bnxt_napi *bnapi, + | ^~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:857:12: error: invalid storage class for function ‘bnxt_ptp_verify’ + 857 | static int bnxt_ptp_verify(struct ptp_clock_info *ptp_info, unsigned int pin, + | ^~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:870:12: error: invalid storage class for function ‘bnxt_ptp_pps_init’ + 870 | static int bnxt_ptp_pps_init(struct bnxt *bp) + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:931:13: error: invalid storage class for function ‘bnxt_pps_config_ok’ + 931 | static bool bnxt_pps_config_ok(struct bnxt *bp) + | ^~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:938:13: error: invalid storage class for function ‘bnxt_ptp_timecounter_init’ + 938 | static void bnxt_ptp_timecounter_init(struct bnxt *bp, bool init_tc) + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:998:13: error: invalid storage class for function ‘bnxt_ptp_free’ + 998 | static void bnxt_ptp_free(struct bnxt *bp) + | ^~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1100:1: error: expected declaration or statement at end of input + 1100 | } + | ^ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: At top level: +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1077:6: warning: ‘bnxt_ptp_clear’ defined but not used [-Wunused-function] + 1077 | void bnxt_ptp_clear(struct bnxt *bp) + | ^~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1010:5: warning: ‘bnxt_ptp_init’ defined but not used [-Wunused-function] + 1010 | int bnxt_ptp_init(struct bnxt *bp, bool phc_cfg) + | ^~~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.o] Error 1 +make[7]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/broadcom/bnxt] Error 2 +make[6]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/broadcom] Error 2 +make[5]: *** [../scripts/Makefile.build:478: drivers/net/ethernet] Error 2 +make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 +make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1936: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 +make: *** [Makefile:224: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.YiCza68arL 2024-10-14 16:34:47.185687253 -0700 +++ /tmp/tmp.2owwfQ2qsQ 2024-10-14 16:34:47.190687207 -0700 @@ -0,0 +1,3 @@ + 2 ../drivers/net/ethernet/broadcom/bnxt/bnxt.c + 9 ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c + 2 ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h