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[4]: *** Waiting for unfinished jobs.... ../net/bluetooth/mgmt.c:2640:8: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2640 | CACHE_TIMEOUT); | ^ ../net/bluetooth/mgmt.c:212:23: note: expanded from macro 'CACHE_TIMEOUT' 212 | #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/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/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/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 ../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]: *** [../scripts/Makefile.build:478: drivers/gpu/drm/etnaviv] Error 2 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 ../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 ../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/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-0/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 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/bluetooth/mgmt.c:2640:8: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2640 | CACHE_TIMEOUT); | ^ ../net/bluetooth/mgmt.c:212:23: note: expanded from macro 'CACHE_TIMEOUT' 212 | #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[4]: *** 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/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/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/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/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[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-0/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 New errors added --- /tmp/tmp.mUUmbqck6f 2024-11-15 15:03:21.983059701 -0800 +++ /tmp/tmp.364cx7Vws2 2024-11-15 15:03:40.717892640 -0800 @@ -21,0 +22,7 @@ +../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.... @@ -46,4 +53,6 @@ -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 - | ^ +../net/bluetooth/mgmt.c:2640:8: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 2640 | CACHE_TIMEOUT); + | ^ +../net/bluetooth/mgmt.c:212:23: note: expanded from macro 'CACHE_TIMEOUT' + 212 | #define CACHE_TIMEOUT secs_to_jiffies(2) + | ^ @@ -51,2 +60,3 @@ -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]: *** [../scripts/Makefile.build:229: net/bluetooth/mgmt.o] Error 1 +make[4]: *** [../scripts/Makefile.build:478: net/bluetooth] Error 2 +make[4]: *** Waiting for unfinished jobs.... @@ -62,10 +71,0 @@ -make[4]: *** Waiting for unfinished jobs.... -../net/bluetooth/mgmt.c:2640:8: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 2640 | CACHE_TIMEOUT); - | ^ -../net/bluetooth/mgmt.c:212:23: note: expanded from macro 'CACHE_TIMEOUT' - 212 | #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 @@ -72,0 +73,8 @@ +../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 @@ -82,6 +89,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.... @@ -102,3 +104,4 @@ -../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)); - | ^ +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)); + | ^ @@ -106 +109 @@ -make[7]: *** [../scripts/Makefile.build:229: drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.o] Error 1 +make[6]: *** [../scripts/Makefile.build:229: drivers/scsi/lpfc/lpfc_vmid.o] Error 1 @@ -112,10 +114,0 @@ -make[6]: *** [../scripts/Makefile.build:478: drivers/gpu/drm/etnaviv] Error 2 -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 @@ -155,2 +148,7 @@ -make[5]: *** [../scripts/Makefile.build:478: drivers/scsi/lpfc] Error 2 -make[4]: *** [../scripts/Makefile.build:478: drivers/scsi] 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.... @@ -168,0 +167,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.9RNbFU9iHB 2024-11-15 15:03:40.735892480 -0800 +++ /tmp/tmp.E8110meWME 2024-11-15 15:03:40.741892427 -0800 @@ -12,0 +13 @@ + 1 ../drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c