========== 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.... ../drivers/scsi/arcmsr/arcmsr_hba.c:1047:42: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1047 | pacb->refresh_timer.expires = jiffies + secs_to_jiffies(60); | ^ ../drivers/scsi/arcmsr/arcmsr_hba.c:1057:34: warning: shift count >= width of type [-Wshift-count-overflow] 1057 | dma_set_mask(&pcidev->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/arcmsr/arcmsr_hba.c:1061:43: warning: shift count >= width of type [-Wshift-count-overflow] 1061 | if (dma_set_coherent_mask(&pcidev->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/arcmsr/arcmsr_hba.c:1062:47: warning: shift count >= width of type [-Wshift-count-overflow] 1062 | dma_set_mask_and_coherent(&pcidev->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)) | ^ ~~~ 3 warnings and 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/arcmsr/arcmsr_hba.o] Error 1 make[5]: *** [../scripts/Makefile.build:478: drivers/scsi/arcmsr] Error 2 make[5]: *** Waiting for unfinished jobs.... ../drivers/scsi/pm8001/pm8001_init.c:737:5: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 737 | secs_to_jiffies(60)); // 1 min | ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/pm8001/pm8001_init.o] Error 1 make[5]: *** [../scripts/Makefile.build:478: drivers/scsi/pm8001] 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.... ../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[5]: *** 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 make[4]: *** [../scripts/Makefile.build:478: net/netfilter] Error 2 make[3]: *** [../scripts/Makefile.build:478: net] Error 2 ../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/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/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/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/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 make[4]: *** 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 ../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.... ../drivers/block/xen-blkback/blkback.c:547:29: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 547 | ring->st_print = jiffies + secs_to_jiffies(10); | ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/block/xen-blkback/blkback.o] Error 1 make[5]: *** [../scripts/Makefile.build:478: drivers/block/xen-blkback] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/block] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/scsi/arcmsr/arcmsr_hba.c:1047:42: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1047 | pacb->refresh_timer.expires = jiffies + secs_to_jiffies(60); | ^ ../drivers/scsi/arcmsr/arcmsr_hba.c:1057:34: warning: shift count >= width of type [-Wshift-count-overflow] 1057 | dma_set_mask(&pcidev->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/arcmsr/arcmsr_hba.c:1061:43: warning: shift count >= width of type [-Wshift-count-overflow] 1061 | if (dma_set_coherent_mask(&pcidev->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/arcmsr/arcmsr_hba.c:1062:47: warning: shift count >= width of type [-Wshift-count-overflow] 1062 | dma_set_mask_and_coherent(&pcidev->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)) | ^ ~~~ 3 warnings and 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/arcmsr/arcmsr_hba.o] Error 1 make[5]: *** [../scripts/Makefile.build:478: drivers/scsi/arcmsr] Error 2 make[5]: *** Waiting for unfinished jobs.... ../drivers/scsi/pm8001/pm8001_init.c:737:5: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 737 | secs_to_jiffies(60)); // 1 min | ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/pm8001/pm8001_init.o] Error 1 make[5]: *** [../scripts/Makefile.build:478: drivers/scsi/pm8001] Error 2 ../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_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 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/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/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_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 ../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/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/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 ../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.27FdStbloS 2024-11-15 15:11:11.924960966 -0800 +++ /tmp/tmp.uR4GrE2RRA 2024-11-15 15:11:48.888640077 -0800 @@ -13,0 +14,8 @@ +../drivers/block/xen-blkback/blkback.c:547:29: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 547 | ring->st_print = jiffies + secs_to_jiffies(10); + | ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:229: drivers/block/xen-blkback/blkback.o] Error 1 +make[5]: *** [../scripts/Makefile.build:478: drivers/block/xen-blkback] Error 2 +make[4]: *** [../scripts/Makefile.build:478: drivers/block] Error 2 +make[4]: *** Waiting for unfinished jobs.... @@ -45,15 +52,0 @@ -../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.... @@ -68,6 +60,0 @@ -make[5]: *** 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 @@ -75,0 +63,6 @@ +../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 +make[6]: *** Waiting for unfinished jobs.... @@ -116,3 +109,3 @@ -../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); - | ^ +../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)); + | ^ @@ -120,4 +113,18 @@ -make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/lpfc/lpfc_nvme.o] Error 1 -../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); - | ^ +make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/lpfc/lpfc_vmid.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 +../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)); + | ^ @@ -125 +132 @@ -make[6]: *** [../scripts/Makefile.build:229: drivers/accel/habanalabs/common/habanalabs_drv.o] Error 1 +make[6]: *** [../scripts/Makefile.build:229: drivers/accel/habanalabs/common/device.o] Error 1 @@ -137,4 +144,3 @@ -make[4]: *** 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)); - | ^ +../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); + | ^ @@ -142 +148 @@ -make[6]: *** [../scripts/Makefile.build:229: drivers/accel/habanalabs/common/device.o] Error 1 +make[6]: *** [../scripts/Makefile.build:229: drivers/accel/habanalabs/common/habanalabs_drv.o] Error 1 Per-file breakdown --- /tmp/tmp.xD7eM3QAbU 2024-11-15 15:11:48.910639886 -0800 +++ /tmp/tmp.6xDqKOjTHb 2024-11-15 15:11:48.923639774 -0800 @@ -2,0 +3 @@ + 1 ../drivers/block/xen-blkback/blkback.c