Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/ptp/ptp_mock.c:57:30: error: too few arguments provided to function-like macro invocation 57 | spin_lock_irqsave(&phc->lock); | ^ ../include/linux/spinlock.h:374:9: note: macro 'spin_lock_irqsave' defined here 374 | #define spin_lock_irqsave(lock, flags) \ | ^ ../drivers/ptp/ptp_mock.c:57:2: error: use of undeclared identifier 'spin_lock_irqsave'; did you mean 'ss_lock_irqsave'? 57 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ | ss_lock_irqsave ../include/linux/seqlock.h:1240:2: note: 'ss_lock_irqsave' declared here 1240 | ss_lock_irqsave, | ^ ../drivers/ptp/ptp_mock.c:60:2: error: call to undeclared function 'spin_unlock_irqsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | spin_unlock_irqsave(&phc->lock); | ^ ../drivers/ptp/ptp_mock.c:57:2: warning: expression result unused [-Wunused-value] 57 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ ../drivers/ptp/ptp_mock.c:69:30: error: too few arguments provided to function-like macro invocation 69 | spin_lock_irqsave(&phc->lock); | ^ ../include/linux/spinlock.h:374:9: note: macro 'spin_lock_irqsave' defined here 374 | #define spin_lock_irqsave(lock, flags) \ | ^ ../drivers/ptp/ptp_mock.c:69:2: error: use of undeclared identifier 'spin_lock_irqsave'; did you mean 'ss_lock_irqsave'? 69 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ | ss_lock_irqsave ../include/linux/seqlock.h:1240:2: note: 'ss_lock_irqsave' declared here 1240 | ss_lock_irqsave, | ^ ../drivers/ptp/ptp_mock.c:71:2: error: call to undeclared function 'spin_unlock_irqsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | spin_unlock_irqsave(&phc->lock); | ^ ../drivers/ptp/ptp_mock.c:69:2: warning: expression result unused [-Wunused-value] 69 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ ../drivers/ptp/ptp_mock.c:82:30: error: too few arguments provided to function-like macro invocation 82 | spin_lock_irqsave(&phc->lock); | ^ ../include/linux/spinlock.h:374:9: note: macro 'spin_lock_irqsave' defined here 374 | #define spin_lock_irqsave(lock, flags) \ | ^ ../drivers/ptp/ptp_mock.c:82:2: error: use of undeclared identifier 'spin_lock_irqsave'; did you mean 'ss_lock_irqsave'? 82 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ | ss_lock_irqsave ../include/linux/seqlock.h:1240:2: note: 'ss_lock_irqsave' declared here 1240 | ss_lock_irqsave, | ^ ../drivers/ptp/ptp_mock.c:84:2: error: call to undeclared function 'spin_unlock_irqsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | spin_unlock_irqsave(&phc->lock); | ^ ../drivers/ptp/ptp_mock.c:82:2: warning: expression result unused [-Wunused-value] 82 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ ../drivers/ptp/ptp_mock.c:94:30: error: too few arguments provided to function-like macro invocation 94 | spin_lock_irqsave(&phc->lock); | ^ ../include/linux/spinlock.h:374:9: note: macro 'spin_lock_irqsave' defined here 374 | #define spin_lock_irqsave(lock, flags) \ | ^ ../drivers/ptp/ptp_mock.c:94:2: error: use of undeclared identifier 'spin_lock_irqsave'; did you mean 'ss_lock_irqsave'? 94 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ | ss_lock_irqsave ../include/linux/seqlock.h:1240:2: note: 'ss_lock_irqsave' declared here 1240 | ss_lock_irqsave, | ^ ../drivers/ptp/ptp_mock.c:96:2: error: call to undeclared function 'spin_unlock_irqsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | spin_unlock_irqsave(&phc->lock); | ^ ../drivers/ptp/ptp_mock.c:94:2: warning: expression result unused [-Wunused-value] 94 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ ../drivers/ptp/ptp_mock.c:142:11: warning: shift count >= width of type [-Wshift-count-overflow] 142 | .mask = CYCLECOUNTER_MASK(64), | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/timecounter.h:14:59: note: expanded from macro 'CYCLECOUNTER_MASK' 14 | #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) | ^ ~~~~~~ 5 warnings and 12 errors generated. make[5]: *** [../scripts/Makefile.build:289: drivers/ptp/ptp_mock.o] Error 1 make[4]: *** [../scripts/Makefile.build:546: drivers/ptp] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:546: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/srv/nipa-poller/net-next/wt-0/Makefile:2101: .] Error 2 make[1]: *** [/srv/nipa-poller/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 Documentation/.renames.txt: warning: ignored by one of the .gitignore files Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/ptp/ptp_mock.c:57:30: error: too few arguments provided to function-like macro invocation 57 | spin_lock_irqsave(&phc->lock); | ^ ../include/linux/spinlock.h:374:9: note: macro 'spin_lock_irqsave' defined here 374 | #define spin_lock_irqsave(lock, flags) \ | ^ ../drivers/ptp/ptp_mock.c:57:2: error: use of undeclared identifier 'spin_lock_irqsave'; did you mean 'ss_lock_irqsave'? 57 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ | ss_lock_irqsave ../include/linux/seqlock.h:1240:2: note: 'ss_lock_irqsave' declared here 1240 | ss_lock_irqsave, | ^ ../drivers/ptp/ptp_mock.c:60:2: error: call to undeclared function 'spin_unlock_irqsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | spin_unlock_irqsave(&phc->lock); | ^ ../drivers/ptp/ptp_mock.c:57:2: warning: expression result unused [-Wunused-value] 57 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ ../drivers/ptp/ptp_mock.c:69:30: error: too few arguments provided to function-like macro invocation 69 | spin_lock_irqsave(&phc->lock); | ^ ../include/linux/spinlock.h:374:9: note: macro 'spin_lock_irqsave' defined here 374 | #define spin_lock_irqsave(lock, flags) \ | ^ ../drivers/ptp/ptp_mock.c:69:2: error: use of undeclared identifier 'spin_lock_irqsave'; did you mean 'ss_lock_irqsave'? 69 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ | ss_lock_irqsave ../include/linux/seqlock.h:1240:2: note: 'ss_lock_irqsave' declared here 1240 | ss_lock_irqsave, | ^ ../drivers/ptp/ptp_mock.c:71:2: error: call to undeclared function 'spin_unlock_irqsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | spin_unlock_irqsave(&phc->lock); | ^ ../drivers/ptp/ptp_mock.c:69:2: warning: expression result unused [-Wunused-value] 69 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ ../drivers/ptp/ptp_mock.c:82:30: error: too few arguments provided to function-like macro invocation 82 | spin_lock_irqsave(&phc->lock); | ^ ../include/linux/spinlock.h:374:9: note: macro 'spin_lock_irqsave' defined here 374 | #define spin_lock_irqsave(lock, flags) \ | ^ ../drivers/ptp/ptp_mock.c:82:2: error: use of undeclared identifier 'spin_lock_irqsave'; did you mean 'ss_lock_irqsave'? 82 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ | ss_lock_irqsave ../include/linux/seqlock.h:1240:2: note: 'ss_lock_irqsave' declared here 1240 | ss_lock_irqsave, | ^ ../drivers/ptp/ptp_mock.c:84:2: error: call to undeclared function 'spin_unlock_irqsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | spin_unlock_irqsave(&phc->lock); | ^ ../drivers/ptp/ptp_mock.c:82:2: warning: expression result unused [-Wunused-value] 82 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ ../drivers/ptp/ptp_mock.c:94:30: error: too few arguments provided to function-like macro invocation 94 | spin_lock_irqsave(&phc->lock); | ^ ../include/linux/spinlock.h:374:9: note: macro 'spin_lock_irqsave' defined here 374 | #define spin_lock_irqsave(lock, flags) \ | ^ ../drivers/ptp/ptp_mock.c:94:2: error: use of undeclared identifier 'spin_lock_irqsave'; did you mean 'ss_lock_irqsave'? 94 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ | ss_lock_irqsave ../include/linux/seqlock.h:1240:2: note: 'ss_lock_irqsave' declared here 1240 | ss_lock_irqsave, | ^ ../drivers/ptp/ptp_mock.c:96:2: error: call to undeclared function 'spin_unlock_irqsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | spin_unlock_irqsave(&phc->lock); | ^ ../drivers/ptp/ptp_mock.c:94:2: warning: expression result unused [-Wunused-value] 94 | spin_lock_irqsave(&phc->lock); | ^~~~~~~~~~~~~~~~~ ../drivers/ptp/ptp_mock.c:142:11: warning: shift count >= width of type [-Wshift-count-overflow] 142 | .mask = CYCLECOUNTER_MASK(64), | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/timecounter.h:14:59: note: expanded from macro 'CYCLECOUNTER_MASK' 14 | #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) | ^ ~~~~~~ 5 warnings and 12 errors generated. make[5]: *** [../scripts/Makefile.build:289: drivers/ptp/ptp_mock.o] Error 1 make[4]: *** [../scripts/Makefile.build:546: drivers/ptp] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:546: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/srv/nipa-poller/net-next/wt-0/Makefile:2101: .] Error 2 make[1]: *** [/srv/nipa-poller/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.tV57Uagmdv 2026-02-25 10:48:05.165294569 -0500 +++ /tmp/tmp.E9XQCVi465 2026-02-25 10:48:50.179916403 -0500 @@ -1,0 +2,91 @@ +../drivers/ptp/ptp_mock.c:57:30: error: too few arguments provided to function-like macro invocation + 57 | spin_lock_irqsave(&phc->lock); + | ^ +../include/linux/spinlock.h:374:9: note: macro 'spin_lock_irqsave' defined here + 374 | #define spin_lock_irqsave(lock, flags) \ + | ^ +../drivers/ptp/ptp_mock.c:57:2: error: use of undeclared identifier 'spin_lock_irqsave'; did you mean 'ss_lock_irqsave'? + 57 | spin_lock_irqsave(&phc->lock); + | ^~~~~~~~~~~~~~~~~ + | ss_lock_irqsave +../include/linux/seqlock.h:1240:2: note: 'ss_lock_irqsave' declared here + 1240 | ss_lock_irqsave, + | ^ +../drivers/ptp/ptp_mock.c:60:2: error: call to undeclared function 'spin_unlock_irqsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 60 | spin_unlock_irqsave(&phc->lock); + | ^ +../drivers/ptp/ptp_mock.c:57:2: warning: expression result unused [-Wunused-value] + 57 | spin_lock_irqsave(&phc->lock); + | ^~~~~~~~~~~~~~~~~ +../drivers/ptp/ptp_mock.c:69:30: error: too few arguments provided to function-like macro invocation + 69 | spin_lock_irqsave(&phc->lock); + | ^ +../include/linux/spinlock.h:374:9: note: macro 'spin_lock_irqsave' defined here + 374 | #define spin_lock_irqsave(lock, flags) \ + | ^ +../drivers/ptp/ptp_mock.c:69:2: error: use of undeclared identifier 'spin_lock_irqsave'; did you mean 'ss_lock_irqsave'? + 69 | spin_lock_irqsave(&phc->lock); + | ^~~~~~~~~~~~~~~~~ + | ss_lock_irqsave +../include/linux/seqlock.h:1240:2: note: 'ss_lock_irqsave' declared here + 1240 | ss_lock_irqsave, + | ^ +../drivers/ptp/ptp_mock.c:71:2: error: call to undeclared function 'spin_unlock_irqsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 71 | spin_unlock_irqsave(&phc->lock); + | ^ +../drivers/ptp/ptp_mock.c:69:2: warning: expression result unused [-Wunused-value] + 69 | spin_lock_irqsave(&phc->lock); + | ^~~~~~~~~~~~~~~~~ +../drivers/ptp/ptp_mock.c:82:30: error: too few arguments provided to function-like macro invocation + 82 | spin_lock_irqsave(&phc->lock); + | ^ +../include/linux/spinlock.h:374:9: note: macro 'spin_lock_irqsave' defined here + 374 | #define spin_lock_irqsave(lock, flags) \ + | ^ +../drivers/ptp/ptp_mock.c:82:2: error: use of undeclared identifier 'spin_lock_irqsave'; did you mean 'ss_lock_irqsave'? + 82 | spin_lock_irqsave(&phc->lock); + | ^~~~~~~~~~~~~~~~~ + | ss_lock_irqsave +../include/linux/seqlock.h:1240:2: note: 'ss_lock_irqsave' declared here + 1240 | ss_lock_irqsave, + | ^ +../drivers/ptp/ptp_mock.c:84:2: error: call to undeclared function 'spin_unlock_irqsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 84 | spin_unlock_irqsave(&phc->lock); + | ^ +../drivers/ptp/ptp_mock.c:82:2: warning: expression result unused [-Wunused-value] + 82 | spin_lock_irqsave(&phc->lock); + | ^~~~~~~~~~~~~~~~~ +../drivers/ptp/ptp_mock.c:94:30: error: too few arguments provided to function-like macro invocation + 94 | spin_lock_irqsave(&phc->lock); + | ^ +../include/linux/spinlock.h:374:9: note: macro 'spin_lock_irqsave' defined here + 374 | #define spin_lock_irqsave(lock, flags) \ + | ^ +../drivers/ptp/ptp_mock.c:94:2: error: use of undeclared identifier 'spin_lock_irqsave'; did you mean 'ss_lock_irqsave'? + 94 | spin_lock_irqsave(&phc->lock); + | ^~~~~~~~~~~~~~~~~ + | ss_lock_irqsave +../include/linux/seqlock.h:1240:2: note: 'ss_lock_irqsave' declared here + 1240 | ss_lock_irqsave, + | ^ +../drivers/ptp/ptp_mock.c:96:2: error: call to undeclared function 'spin_unlock_irqsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 96 | spin_unlock_irqsave(&phc->lock); + | ^ +../drivers/ptp/ptp_mock.c:94:2: warning: expression result unused [-Wunused-value] + 94 | spin_lock_irqsave(&phc->lock); + | ^~~~~~~~~~~~~~~~~ +../drivers/ptp/ptp_mock.c:142:11: warning: shift count >= width of type [-Wshift-count-overflow] + 142 | .mask = CYCLECOUNTER_MASK(64), + | ^~~~~~~~~~~~~~~~~~~~~ +../include/linux/timecounter.h:14:59: note: expanded from macro 'CYCLECOUNTER_MASK' + 14 | #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) + | ^ ~~~~~~ +5 warnings and 12 errors generated. +make[5]: *** [../scripts/Makefile.build:289: drivers/ptp/ptp_mock.o] Error 1 +make[4]: *** [../scripts/Makefile.build:546: drivers/ptp] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:546: drivers] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[2]: *** [/srv/nipa-poller/net-next/wt-0/Makefile:2101: .] Error 2 +make[1]: *** [/srv/nipa-poller/net-next/wt-0/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.m3YsSKi2nc 2026-02-25 10:48:50.182916377 -0500 +++ /tmp/tmp.UVmICqdQHu 2026-02-25 10:48:50.184916361 -0500 @@ -0,0 +1 @@ + 17 ../drivers/ptp/ptp_mock.c