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 ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:70:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 70 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:108:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 108 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:158:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 158 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:197:3: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 197 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:214:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 214 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:249:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 249 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:264:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 264 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:406:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 406 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:714:3: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 714 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:770:3: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 770 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:847:4: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 847 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1008:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 1008 | spin_lock_irqsave(&bp->ptp_cfg->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1080:3: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 1080 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ 13 warnings generated. ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2259:5: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 2259 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2767:5: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 2767 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13501:3: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 13501 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13570:4: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 13570 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ 4 warnings generated. 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 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 ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:70:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 70 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:108:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 108 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:158:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 158 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:197:3: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 197 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:214:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 214 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:249:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 249 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:264:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 264 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:406:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 406 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:714:3: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 714 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:770:3: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 770 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:847:4: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 847 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1008:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 1008 | spin_lock_irqsave(&bp->ptp_cfg->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1080:3: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 1080 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ 13 warnings generated. ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2259:5: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 2259 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2767:5: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 2767 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13501:3: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 13501 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13570:4: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] 13570 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' 12 | (void)(&__dummy == &__dummy2); \ | ~~~~~~~~ ^ ~~~~~~~~~ 4 warnings generated. New errors added --- /tmp/tmp.KvJ84BQr9A 2024-10-15 12:11:25.236720662 -0700 +++ /tmp/tmp.asVb0hDYF1 2024-10-15 12:13:22.634772316 -0700 @@ -3,0 +4,206 @@ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:70:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 70 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:108:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 108 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:158:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 158 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:197:3: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 197 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:214:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 214 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:249:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 249 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:264:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 264 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:406:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 406 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:714:3: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 714 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:770:3: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 770 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:847:4: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 847 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1008:2: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 1008 | spin_lock_irqsave(&bp->ptp_cfg->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1080:3: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 1080 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +13 warnings generated. +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2259:5: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 2259 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2767:5: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 2767 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13501:3: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 13501 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13570:4: warning: comparison of distinct pointer types ('unsigned long *' and 'typeof (flags) *' (aka 'unsigned int *')) [-Wcompare-distinct-pointer-types] + 13570 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:381:2: note: expanded from macro 'spin_lock_irqsave' + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/spinlock.h:243:3: note: expanded from macro 'raw_spin_lock_irqsave' + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/typecheck.h:12:18: note: expanded from macro 'typecheck' + 12 | (void)(&__dummy == &__dummy2); \ + | ~~~~~~~~ ^ ~~~~~~~~~ +4 warnings generated. Per-file breakdown --- /tmp/tmp.5g06UiFD5e 2024-10-15 12:14:09.348394961 -0700 +++ /tmp/tmp.bFruXaUHZh 2024-10-15 12:14:09.352394929 -0700 @@ -0,0 +1,2 @@ + 4 ../drivers/net/ethernet/broadcom/bnxt/bnxt.c + 13 ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c