========== 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/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/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 make[5]: *** 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 ../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[4]: *** 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/net/wireless/ath/ath11k/debugfs.c:181:22: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | timeout = jiffies + secs_to_jiffies(3); | ^ 1 error generated. make[8]: *** [../scripts/Makefile.build:229: drivers/net/wireless/ath/ath11k/debugfs.o] Error 1 make[7]: *** [../scripts/Makefile.build:478: drivers/net/wireless/ath/ath11k] Error 2 make[6]: *** [../scripts/Makefile.build:478: drivers/net/wireless/ath] Error 2 make[5]: *** [../scripts/Makefile.build:478: drivers/net/wireless] Error 2 make[5]: *** Waiting for unfinished jobs.... ../net/bluetooth/mgmt.c:2699:8: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2699 | CACHE_TIMEOUT); | ^ ../net/bluetooth/mgmt.c:213:23: note: expanded from macro 'CACHE_TIMEOUT' 213 | #define CACHE_TIMEOUT secs_to_jiffies(2) | ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:229: net/bluetooth/mgmt.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: net/bluetooth] Error 2 make[3]: *** [../scripts/Makefile.build:478: net] Error 2 ../drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c:62:8: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | secs_to_jiffies(10))) { | ^ 1 error generated. make[7]: *** [../scripts/Makefile.build:229: drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.o] Error 1 make[6]: *** [../scripts/Makefile.build:478: drivers/staging/vc04_services/bcm2835-audio] Error 2 make[5]: *** [../scripts/Makefile.build:478: drivers/staging/vc04_services] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/staging] Error 2 ../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[6]: *** Waiting for unfinished jobs.... ../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/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 ../fs/ceph/quota.c:169:28: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | qri->timeout = jiffies + secs_to_jiffies(60); /* XXX */ | ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:229: fs/ceph/quota.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: fs/ceph] Error 2 make[3]: *** [../scripts/Makefile.build:478: fs] Error 2 ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:1149:4: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1149 | secs_to_jiffies(GVE_REINJECT_COMPL_TIMEOUT); | ^ ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:1193:5: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1193 | secs_to_jiffies(GVE_DEALLOCATE_COMPL_TIMEOUT); | ^ 2 errors generated. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/google/gve/gve_tx_dqo.o] Error 1 make[7]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/google/gve] 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/net/ethernet/google] Error 2 make[5]: *** [../scripts/Makefile.build:478: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 make[6]: *** [../scripts/Makefile.build:478: drivers/gpu/drm/xe] Error 2 ../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 ../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 make[5]: *** [../scripts/Makefile.build:478: drivers/scsi/lpfc] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/scsi] 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 ../sound/usb/line6/toneport.c:389:10: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 389 | secs_to_jiffies(TONEPORT_PCM_DELAY)); | ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: sound/usb/line6/toneport.o] Error 1 make[5]: *** [../scripts/Makefile.build:478: sound/usb/line6] Error 2 make[4]: *** [../scripts/Makefile.build:478: sound/usb] Error 2 make[4]: *** Waiting for unfinished jobs.... ../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.... ../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[4]: *** 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/net/wireless/ath/ath11k/debugfs.c:181:22: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | timeout = jiffies + secs_to_jiffies(3); | ^ 1 error generated. make[8]: *** [../scripts/Makefile.build:229: drivers/net/wireless/ath/ath11k/debugfs.o] Error 1 make[7]: *** [../scripts/Makefile.build:478: drivers/net/wireless/ath/ath11k] Error 2 make[6]: *** [../scripts/Makefile.build:478: drivers/net/wireless/ath] Error 2 make[5]: *** [../scripts/Makefile.build:478: drivers/net/wireless] Error 2 make[5]: *** Waiting for unfinished jobs.... ../drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c:62:8: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | secs_to_jiffies(10))) { | ^ 1 error generated. make[7]: *** [../scripts/Makefile.build:229: drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.o] Error 1 make[6]: *** [../scripts/Makefile.build:478: drivers/staging/vc04_services/bcm2835-audio] Error 2 make[5]: *** [../scripts/Makefile.build:478: drivers/staging/vc04_services] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/staging] 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/bluetooth/mgmt.c:2699:8: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2699 | CACHE_TIMEOUT); | ^ ../net/bluetooth/mgmt.c:213:23: note: expanded from macro 'CACHE_TIMEOUT' 213 | #define CACHE_TIMEOUT secs_to_jiffies(2) | ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:229: net/bluetooth/mgmt.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: net/bluetooth] 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_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 ../fs/ceph/quota.c:169:28: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | qri->timeout = jiffies + secs_to_jiffies(60); /* XXX */ | ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:229: fs/ceph/quota.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: fs/ceph] Error 2 make[3]: *** [../scripts/Makefile.build:478: fs] Error 2 ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:1149:4: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1149 | secs_to_jiffies(GVE_REINJECT_COMPL_TIMEOUT); | ^ ../drivers/net/ethernet/google/gve/gve_tx_dqo.c:1193:5: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1193 | secs_to_jiffies(GVE_DEALLOCATE_COMPL_TIMEOUT); | ^ 2 errors generated. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/google/gve/gve_tx_dqo.o] Error 1 make[7]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/google/gve] Error 2 make[6]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/google] Error 2 make[5]: *** [../scripts/Makefile.build:478: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 ../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[3]: *** [../scripts/Makefile.build:478: sound] 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.tG7ZooyzyN 2024-11-15 15:19:24.972680734 -0800 +++ /tmp/tmp.xmRSRsEBH1 2024-11-15 15:20:00.833369421 -0800 @@ -3,0 +4,8 @@ +../sound/usb/line6/toneport.c:389:10: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 389 | secs_to_jiffies(TONEPORT_PCM_DELAY)); + | ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:229: sound/usb/line6/toneport.o] Error 1 +make[5]: *** [../scripts/Makefile.build:478: sound/usb/line6] Error 2 +make[4]: *** [../scripts/Makefile.build:478: sound/usb] Error 2 +make[4]: *** Waiting for unfinished jobs.... @@ -22,7 +29,0 @@ -../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 -make[5]: *** Waiting for unfinished jobs.... @@ -52,0 +54 @@ +make[5]: *** Waiting for unfinished jobs.... @@ -63,3 +65,3 @@ -../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)); - | ^ +../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 + | ^ @@ -67,3 +69,2 @@ -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.... +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 @@ -79,10 +79,0 @@ -../net/bluetooth/mgmt.c:2699:8: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 2699 | CACHE_TIMEOUT); - | ^ -../net/bluetooth/mgmt.c:213:23: note: expanded from macro 'CACHE_TIMEOUT' - 213 | #define CACHE_TIMEOUT secs_to_jiffies(2) - | ^ -1 error generated. -make[5]: *** [../scripts/Makefile.build:229: net/bluetooth/mgmt.o] Error 1 -make[4]: *** [../scripts/Makefile.build:478: net/bluetooth] Error 2 -make[3]: *** [../scripts/Makefile.build:478: net] Error 2 @@ -97,6 +87,0 @@ -../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[6]: *** Waiting for unfinished jobs.... @@ -116,0 +102,23 @@ +make[6]: *** Waiting for unfinished jobs.... +../net/bluetooth/mgmt.c:2699:8: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 2699 | CACHE_TIMEOUT); + | ^ +../net/bluetooth/mgmt.c:213:23: note: expanded from macro 'CACHE_TIMEOUT' + 213 | #define CACHE_TIMEOUT secs_to_jiffies(2) + | ^ +1 error generated. +make[5]: *** [../scripts/Makefile.build:229: net/bluetooth/mgmt.o] Error 1 +make[4]: *** [../scripts/Makefile.build:478: net/bluetooth] 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_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 @@ -122,33 +129,0 @@ -../fs/ceph/quota.c:169:28: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 169 | qri->timeout = jiffies + secs_to_jiffies(60); /* XXX */ - | ^ -1 error generated. -make[5]: *** [../scripts/Makefile.build:229: fs/ceph/quota.o] Error 1 -make[4]: *** [../scripts/Makefile.build:478: fs/ceph] Error 2 -make[3]: *** [../scripts/Makefile.build:478: fs] Error 2 -../drivers/net/ethernet/google/gve/gve_tx_dqo.c:1149:4: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 1149 | secs_to_jiffies(GVE_REINJECT_COMPL_TIMEOUT); - | ^ -../drivers/net/ethernet/google/gve/gve_tx_dqo.c:1193:5: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 1193 | secs_to_jiffies(GVE_DEALLOCATE_COMPL_TIMEOUT); - | ^ -2 errors generated. -make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/google/gve/gve_tx_dqo.o] Error 1 -make[7]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/google/gve] 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/net/ethernet/google] Error 2 -make[5]: *** [../scripts/Makefile.build:478: drivers/net/ethernet] Error 2 -make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 -make[6]: *** [../scripts/Makefile.build:478: drivers/gpu/drm/xe] Error 2 -../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 @@ -187,0 +163,27 @@ +../fs/ceph/quota.c:169:28: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 169 | qri->timeout = jiffies + secs_to_jiffies(60); /* XXX */ + | ^ +1 error generated. +make[5]: *** [../scripts/Makefile.build:229: fs/ceph/quota.o] Error 1 +make[4]: *** [../scripts/Makefile.build:478: fs/ceph] Error 2 +make[3]: *** [../scripts/Makefile.build:478: fs] Error 2 +../drivers/net/ethernet/google/gve/gve_tx_dqo.c:1149:4: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 1149 | secs_to_jiffies(GVE_REINJECT_COMPL_TIMEOUT); + | ^ +../drivers/net/ethernet/google/gve/gve_tx_dqo.c:1193:5: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 1193 | secs_to_jiffies(GVE_DEALLOCATE_COMPL_TIMEOUT); + | ^ +2 errors generated. +make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/google/gve/gve_tx_dqo.o] Error 1 +make[7]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/google/gve] Error 2 +make[6]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/google] Error 2 +make[5]: *** [../scripts/Makefile.build:478: drivers/net/ethernet] Error 2 +make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 +../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 @@ -189,0 +192,7 @@ +../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[3]: *** [../scripts/Makefile.build:478: sound] Error 2 Per-file breakdown --- /tmp/tmp.CmPCQPv72S 2024-11-15 15:20:00.862369169 -0800 +++ /tmp/tmp.JhKPMvLJ6c 2024-11-15 15:20:00.870369100 -0800 @@ -17,0 +18 @@ + 1 ../sound/usb/line6/toneport.c