========== build_clang - FAILED tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../mm/kmemleak.c:1819:25: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1819 | signed long timeout = secs_to_jiffies(SECS_FIRST_SCAN); | ^ ../mm/kmemleak.c:2205:22: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2205 | jiffies_scan_wait = secs_to_jiffies(SECS_SCAN_WAIT); | ^ 2 errors generated. make[4]: *** [../scripts/Makefile.build:229: mm/kmemleak.o] Error 1 make[3]: *** [../scripts/Makefile.build:478: mm] Error 2 make[3]: *** Waiting for unfinished jobs.... ../net/netfilter/nf_conntrack_proto_sctp.c:43:30: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | [SCTP_CONNTRACK_CLOSED] = secs_to_jiffies(10), | ^ ../net/netfilter/nf_conntrack_proto_sctp.c:43:30: error: initializer element is not a compile-time constant 43 | [SCTP_CONNTRACK_CLOSED] = secs_to_jiffies(10), | ^~~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:229: net/netfilter/nf_conntrack_proto_sctp.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: net/netfilter] Error 2 make[3]: *** [../scripts/Makefile.build:478: net] Error 2 ../drivers/accel/habanalabs/common/device.c:820:6: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 820 | secs_to_jiffies(HL_PENDING_RESET_PER_SEC)); | ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/accel/habanalabs/common/device.o] Error 1 make[6]: *** Waiting for unfinished jobs.... ../drivers/accel/habanalabs/common/habanalabs_drv.c:365:28: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 365 | hdev->timeout_jiffies = secs_to_jiffies(GAUDI_DEFAULT_TIMEOUT_LOCKED); | ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/accel/habanalabs/common/habanalabs_drv.o] Error 1 make[5]: *** [../scripts/Makefile.build:478: drivers/accel/habanalabs] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/accel] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../mm/kmemleak.c:1819:25: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1819 | signed long timeout = secs_to_jiffies(SECS_FIRST_SCAN); | ^ ../mm/kmemleak.c:2205:22: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2205 | jiffies_scan_wait = secs_to_jiffies(SECS_SCAN_WAIT); | ^ 2 errors generated. make[4]: *** [../scripts/Makefile.build:229: mm/kmemleak.o] Error 1 make[3]: *** [../scripts/Makefile.build:478: mm] Error 2 make[3]: *** Waiting for unfinished jobs.... ../net/netfilter/nf_conntrack_proto_sctp.c:43:30: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | [SCTP_CONNTRACK_CLOSED] = secs_to_jiffies(10), | ^ ../net/netfilter/nf_conntrack_proto_sctp.c:43:30: error: initializer element is not a compile-time constant 43 | [SCTP_CONNTRACK_CLOSED] = secs_to_jiffies(10), | ^~~~~~~~~~~~~~~~~~~ 2 errors generated. make[5]: *** [../scripts/Makefile.build:229: net/netfilter/nf_conntrack_proto_sctp.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: net/netfilter] Error 2 make[3]: *** [../scripts/Makefile.build:478: net] Error 2 ../drivers/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/accel/habanalabs/common/device.c:820:6: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 820 | secs_to_jiffies(HL_PENDING_RESET_PER_SEC)); | ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:229: drivers/accel/habanalabs/common/device.o] Error 1 make[5]: *** [../scripts/Makefile.build:478: drivers/accel/habanalabs] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/accel] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/gpu/drm/xe/xe_device.c:505:20: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 505 | timeout = start + secs_to_jiffies(60); /* 60 sec! */ | ^ 1 error generated. make[7]: *** [../scripts/Makefile.build:229: drivers/gpu/drm/xe/xe_device.o] Error 1 make[6]: *** [../scripts/Makefile.build:478: drivers/gpu/drm/xe] Error 2 make[6]: *** Waiting for unfinished jobs.... 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.PPhFqRSfCE 2024-11-15 15:05:41.169832307 -0800 +++ /tmp/tmp.MIQJ6Thv4V 2024-11-15 15:06:00.196667132 -0800 @@ -24,6 +23,0 @@ -../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.... @@ -34,0 +29,6 @@ +make[6]: *** Waiting for unfinished jobs.... +../drivers/accel/habanalabs/common/device.c:820:6: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 820 | secs_to_jiffies(HL_PENDING_RESET_PER_SEC)); + | ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:229: drivers/accel/habanalabs/common/device.o] Error 1 @@ -37,0 +38,9 @@ +../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[6]: *** Waiting for unfinished jobs.... +make[5]: *** [../scripts/Makefile.build:478: drivers/gpu/drm] Error 2 +make[4]: *** [../scripts/Makefile.build:478: drivers/gpu] Error 2 Per-file breakdown --- /tmp/tmp.y4o8blmjwR 2024-11-15 15:06:00.204667063 -0800 +++ /tmp/tmp.gJQSRSzbJC 2024-11-15 15:06:00.206667045 -0800 @@ -2,0 +3 @@ + 1 ../drivers/gpu/drm/xe/xe_device.c