========== build_clang - FAILED 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 ../mm/kmemleak.c:1819:25: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1819 | signed long timeout = secs_to_jiffies(SECS_FIRST_SCAN); | ^ ../mm/kmemleak.c:2205:22: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2205 | jiffies_scan_wait = secs_to_jiffies(SECS_SCAN_WAIT); | ^ 2 errors generated. make[4]: *** [../scripts/Makefile.build:229: mm/kmemleak.o] Error 1 make[3]: *** [../scripts/Makefile.build:478: mm] Error 2 make[3]: *** Waiting for unfinished jobs.... ../net/netfilter/nf_conntrack_proto_sctp.c:43:30: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | [SCTP_CONNTRACK_CLOSED] = secs_to_jiffies(10), | ^ ../net/netfilter/nf_conntrack_proto_sctp.c:43:30: error: initializer element is not a compile-time constant 43 | [SCTP_CONNTRACK_CLOSED] = secs_to_jiffies(10), | ^~~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:229: net/netfilter/nf_conntrack_proto_sctp.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: net/netfilter] Error 2 make[3]: *** [../scripts/Makefile.build:478: net] Error 2 ../drivers/accel/habanalabs/common/habanalabs_drv.c:365:28: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 365 | hdev->timeout_jiffies = secs_to_jiffies(GAUDI_DEFAULT_TIMEOUT_LOCKED); | ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/accel/habanalabs/common/habanalabs_drv.o] Error 1 make[6]: *** Waiting for unfinished jobs.... ../drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c:103:14: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | secs_to_jiffies(10)); | ^ 1 error generated. make[7]: *** [../scripts/Makefile.build:229: drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.o] Error 1 make[6]: *** [../scripts/Makefile.build:478: drivers/gpu/drm/etnaviv] Error 2 make[6]: *** Waiting for unfinished jobs.... ../drivers/accel/habanalabs/common/device.c:820:6: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 820 | secs_to_jiffies(HL_PENDING_RESET_PER_SEC)); | ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/accel/habanalabs/common/device.o] Error 1 make[5]: *** [../scripts/Makefile.build:478: drivers/accel/habanalabs] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/accel] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/gpu/drm/xe/xe_device.c:505:20: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 505 | timeout = start + secs_to_jiffies(60); /* 60 sec! */ | ^ 1 error generated. make[7]: *** [../scripts/Makefile.build:229: drivers/gpu/drm/xe/xe_device.o] Error 1 make[6]: *** [../scripts/Makefile.build:478: drivers/gpu/drm/xe] Error 2 make[5]: *** [../scripts/Makefile.build:478: drivers/gpu/drm] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/gpu] 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 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 ../mm/kmemleak.c:1819:25: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1819 | signed long timeout = secs_to_jiffies(SECS_FIRST_SCAN); | ^ ../mm/kmemleak.c:2205:22: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2205 | jiffies_scan_wait = secs_to_jiffies(SECS_SCAN_WAIT); | ^ 2 errors generated. make[4]: *** [../scripts/Makefile.build:229: mm/kmemleak.o] Error 1 make[3]: *** [../scripts/Makefile.build:478: mm] Error 2 make[3]: *** Waiting for unfinished jobs.... ../net/netfilter/nf_conntrack_proto_sctp.c:43:30: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | [SCTP_CONNTRACK_CLOSED] = secs_to_jiffies(10), | ^ ../net/netfilter/nf_conntrack_proto_sctp.c:43:30: error: initializer element is not a compile-time constant 43 | [SCTP_CONNTRACK_CLOSED] = secs_to_jiffies(10), | ^~~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:229: net/netfilter/nf_conntrack_proto_sctp.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: net/netfilter] Error 2 make[3]: *** [../scripts/Makefile.build:478: net] Error 2 ../drivers/scsi/lpfc/lpfc_nportdisc.c:917:17: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 917 | jiffies + secs_to_jiffies(1)); | ^ ../drivers/scsi/lpfc/lpfc_nportdisc.c:1358:44: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1358 | mod_timer(&ndlp->nlp_delayfunc, jiffies + secs_to_jiffies(1)); | ^ ../drivers/scsi/lpfc/lpfc_nportdisc.c:1978:16: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1978 | jiffies + secs_to_jiffies(1)); | ^ ../drivers/scsi/lpfc/lpfc_nportdisc.c:2801:16: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2801 | jiffies + secs_to_jiffies(1)); | ^ 4 errors generated. make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/lpfc/lpfc_nportdisc.o] Error 1 make[6]: *** Waiting for unfinished jobs.... ../drivers/scsi/lpfc/lpfc_vmid.c:281:7: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 281 | secs_to_jiffies(LPFC_VMID_TIMER)); | ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/lpfc/lpfc_vmid.o] Error 1 ../drivers/scsi/lpfc/lpfc_nvme.c:2239:13: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2239 | wait_tmo = secs_to_jiffies(LPFC_NVME_WAIT_TMO); | ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/lpfc/lpfc_nvme.o] Error 1 ../drivers/scsi/lpfc/lpfc_init.c:601:15: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 601 | jiffies + secs_to_jiffies(LPFC_HB_MBOX_INTERVAL)); | ^ ../drivers/scsi/lpfc/lpfc_init.c:1270:6: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1270 | secs_to_jiffies(LPFC_HB_MBOX_INTERVAL)); | ^ ../drivers/scsi/lpfc/lpfc_init.c:1558:5: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1558 | secs_to_jiffies(LPFC_HB_MBOX_INTERVAL), | ^ ../drivers/scsi/lpfc/lpfc_init.c:1558:5: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../drivers/scsi/lpfc/lpfc_init.c:3355:12: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3355 | timeout = secs_to_jiffies(LPFC_MBOX_TMO) + jiffies; | ^ ../drivers/scsi/lpfc/lpfc_init.c:4942:14: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4942 | if (time >= secs_to_jiffies(30)) { | ^ ../drivers/scsi/lpfc/lpfc_init.c:5198:15: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 5198 | jiffies + secs_to_jiffies(LPFC_VMID_TIMER)); | ^ ../drivers/scsi/lpfc/lpfc_init.c:9305:48: warning: shift count >= width of type [-Wshift-count-overflow] 9305 | error = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ ../drivers/scsi/lpfc/lpfc_init.c:11847:48: warning: shift count >= width of type [-Wshift-count-overflow] 11847 | error = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 2 warnings and 7 errors generated. make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/lpfc/lpfc_init.o] Error 1 ../drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c:103:14: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | secs_to_jiffies(10)); | ^ 1 error generated. make[7]: *** [../scripts/Makefile.build:229: drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.o] Error 1 make[6]: *** [../scripts/Makefile.build:478: drivers/gpu/drm/etnaviv] Error 2 make[6]: *** Waiting for unfinished jobs.... ../drivers/accel/habanalabs/common/device.c:820:6: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 820 | secs_to_jiffies(HL_PENDING_RESET_PER_SEC)); | ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/accel/habanalabs/common/device.o] Error 1 make[6]: *** Waiting for unfinished jobs.... ../drivers/accel/habanalabs/common/habanalabs_drv.c:365:28: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 365 | hdev->timeout_jiffies = secs_to_jiffies(GAUDI_DEFAULT_TIMEOUT_LOCKED); | ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/accel/habanalabs/common/habanalabs_drv.o] Error 1 make[5]: *** [../scripts/Makefile.build:478: drivers/accel/habanalabs] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/accel] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/scsi/lpfc/lpfc_sli.c:9027:15: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9027 | jiffies + secs_to_jiffies(LPFC_HB_MBOX_INTERVAL)); | ^ ../drivers/scsi/lpfc/lpfc_sli.c:13338:12: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13338 | timeout = secs_to_jiffies(LPFC_MBOX_TMO) + jiffies; | ^ 2 errors generated. make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/lpfc/lpfc_sli.o] Error 1 make[5]: *** [../scripts/Makefile.build:478: drivers/scsi/lpfc] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/scsi] Error 2 ../drivers/gpu/drm/xe/xe_device.c:505:20: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 505 | timeout = start + secs_to_jiffies(60); /* 60 sec! */ | ^ 1 error generated. make[7]: *** [../scripts/Makefile.build:229: drivers/gpu/drm/xe/xe_device.o] Error 1 make[6]: *** [../scripts/Makefile.build:478: drivers/gpu/drm/xe] Error 2 make[5]: *** [../scripts/Makefile.build:478: drivers/gpu/drm] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/gpu] 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 New errors added --- /tmp/tmp.VFx87JnlTO 2024-11-15 15:07:26.086921505 -0800 +++ /tmp/tmp.Z04cVtD6LP 2024-11-15 15:08:02.586604644 -0800 @@ -24,5 +24,14 @@ -../drivers/accel/habanalabs/common/habanalabs_drv.c:365:28: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 365 | hdev->timeout_jiffies = secs_to_jiffies(GAUDI_DEFAULT_TIMEOUT_LOCKED); - | ^ -1 error generated. -make[6]: *** [../scripts/Makefile.build:229: drivers/accel/habanalabs/common/habanalabs_drv.o] Error 1 +../drivers/scsi/lpfc/lpfc_nportdisc.c:917:17: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 917 | jiffies + secs_to_jiffies(1)); + | ^ +../drivers/scsi/lpfc/lpfc_nportdisc.c:1358:44: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 1358 | mod_timer(&ndlp->nlp_delayfunc, jiffies + secs_to_jiffies(1)); + | ^ +../drivers/scsi/lpfc/lpfc_nportdisc.c:1978:16: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 1978 | jiffies + secs_to_jiffies(1)); + | ^ +../drivers/scsi/lpfc/lpfc_nportdisc.c:2801:16: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 2801 | jiffies + secs_to_jiffies(1)); + | ^ +4 errors generated. +make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/lpfc/lpfc_nportdisc.o] Error 1 @@ -29,0 +39,43 @@ +../drivers/scsi/lpfc/lpfc_vmid.c:281:7: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 281 | secs_to_jiffies(LPFC_VMID_TIMER)); + | ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/lpfc/lpfc_vmid.o] Error 1 +../drivers/scsi/lpfc/lpfc_nvme.c:2239:13: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 2239 | wait_tmo = secs_to_jiffies(LPFC_NVME_WAIT_TMO); + | ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/lpfc/lpfc_nvme.o] Error 1 +../drivers/scsi/lpfc/lpfc_init.c:601:15: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 601 | jiffies + secs_to_jiffies(LPFC_HB_MBOX_INTERVAL)); + | ^ +../drivers/scsi/lpfc/lpfc_init.c:1270:6: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 1270 | secs_to_jiffies(LPFC_HB_MBOX_INTERVAL)); + | ^ +../drivers/scsi/lpfc/lpfc_init.c:1558:5: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 1558 | secs_to_jiffies(LPFC_HB_MBOX_INTERVAL), + | ^ +../drivers/scsi/lpfc/lpfc_init.c:1558:5: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/scsi/lpfc/lpfc_init.c:3355:12: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 3355 | timeout = secs_to_jiffies(LPFC_MBOX_TMO) + jiffies; + | ^ +../drivers/scsi/lpfc/lpfc_init.c:4942:14: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 4942 | if (time >= secs_to_jiffies(30)) { + | ^ +../drivers/scsi/lpfc/lpfc_init.c:5198:15: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 5198 | jiffies + secs_to_jiffies(LPFC_VMID_TIMER)); + | ^ +../drivers/scsi/lpfc/lpfc_init.c:9305:48: warning: shift count >= width of type [-Wshift-count-overflow] + 9305 | error = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' + 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +../drivers/scsi/lpfc/lpfc_init.c:11847:48: warning: shift count >= width of type [-Wshift-count-overflow] + 11847 | error = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' + 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +2 warnings and 7 errors generated. +make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/lpfc/lpfc_init.o] Error 1 @@ -41,0 +94,6 @@ +make[6]: *** Waiting for unfinished jobs.... +../drivers/accel/habanalabs/common/habanalabs_drv.c:365:28: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 365 | hdev->timeout_jiffies = secs_to_jiffies(GAUDI_DEFAULT_TIMEOUT_LOCKED); + | ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:229: drivers/accel/habanalabs/common/habanalabs_drv.o] Error 1 @@ -44,0 +103,10 @@ +../drivers/scsi/lpfc/lpfc_sli.c:9027:15: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 9027 | jiffies + secs_to_jiffies(LPFC_HB_MBOX_INTERVAL)); + | ^ +../drivers/scsi/lpfc/lpfc_sli.c:13338:12: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 13338 | timeout = secs_to_jiffies(LPFC_MBOX_TMO) + jiffies; + | ^ +2 errors generated. +make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/lpfc/lpfc_sli.o] Error 1 +make[5]: *** [../scripts/Makefile.build:478: drivers/scsi/lpfc] Error 2 +make[4]: *** [../scripts/Makefile.build:478: drivers/scsi] Error 2 Per-file breakdown --- /tmp/tmp.GhFQs5Ddx9 2024-11-15 15:08:02.611604427 -0800 +++ /tmp/tmp.enYvulO1cX 2024-11-15 15:08:02.622604332 -0800 @@ -4,0 +5,5 @@ + 9 ../drivers/scsi/lpfc/lpfc_init.c + 4 ../drivers/scsi/lpfc/lpfc_nportdisc.c + 1 ../drivers/scsi/lpfc/lpfc_nvme.c + 2 ../drivers/scsi/lpfc/lpfc_sli.c + 1 ../drivers/scsi/lpfc/lpfc_vmid.c