========== build_allmodconfig_warn - 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 ../net/mptcp/pm_netlink.c:640:31: warning: context imbalance in 'mptcp_pm_create_subflow_or_signal_addr' - unexpected unlock ../net/mptcp/pm_netlink.c:757:23: warning: context imbalance in 'mptcp_pm_nl_add_addr_received' - unexpected unlock ../net/mptcp/protocol.c:3365:9: warning: context imbalance in 'mptcp_sk_clone_init' - unexpected unlock ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3191:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3191 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3191:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3191 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3192 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/macsec.c:418:24: warning: restricted ssci_t degrades to integer ../drivers/net/macsec.c:418:22: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:418:22: expected restricted ssci_t [usertype] ssci ../drivers/net/macsec.c:418:22: got unsigned int ../drivers/net/macsec.c:419:22: warning: restricted __be64 degrades to integer ../drivers/net/macsec.c:419:20: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:419:20: expected restricted __be64 [usertype] pn ../drivers/net/macsec.c:419:20: got unsigned long long ../drivers/net/ethernet/cadence/macb_main.c:284:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:284:16: expected unsigned int [usertype] bottom ../drivers/net/ethernet/cadence/macb_main.c:284:16: got restricted __le32 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:286:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:286:13: expected unsigned short [usertype] top ../drivers/net/ethernet/cadence/macb_main.c:286:13: got restricted __le16 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:3487:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3492:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3497:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3497:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3522:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3526:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3526:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3526:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3536:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3540:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3540:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3540:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3550:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3550:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3556:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3557:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3564:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3565:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3568:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3604:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3604:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3658:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3658:25: warning: cast from restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1199:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1199:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1199:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1199:43: got unsigned int [usertype] In file included from ../include/linux/bitops.h:7, from ../include/linux/kernel.h:23, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:9: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_settime’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:70:9: note: in expansion of macro ‘spin_lock_irqsave’ 70 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_get_current_time’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:108:9: note: in expansion of macro ‘spin_lock_irqsave’ 108 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_gettimex’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:158:9: note: in expansion of macro ‘spin_lock_irqsave’ 158 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_adjphc’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:197:17: note: in expansion of macro ‘spin_lock_irqsave’ 197 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_adjtime’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:214:9: note: in expansion of macro ‘spin_lock_irqsave’ 214 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_adjfine’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:249:9: note: in expansion of macro ‘spin_lock_irqsave’ 249 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_pps_event’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:264:9: note: in expansion of macro ‘spin_lock_irqsave’ 264 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_get_target_cycles’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:406:9: note: in expansion of macro ‘spin_lock_irqsave’ 406 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_stamp_tx_skb’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:714:17: note: in expansion of macro ‘spin_lock_irqsave’ 714 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_ts_aux_work’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:770:17: note: in expansion of macro ‘spin_lock_irqsave’ 770 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_tx_ts_cmp’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:847:25: note: in expansion of macro ‘spin_lock_irqsave’ 847 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_init_rtc’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1008:9: note: in expansion of macro ‘spin_lock_irqsave’ 1008 | spin_lock_irqsave(&bp->ptp_cfg->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_init’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1080:17: note: in expansion of macro ‘spin_lock_irqsave’ 1080 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:70:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:70:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:70:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:108:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:108:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:108:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:158:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:158:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:158:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:197:17: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:197:17: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:197:17: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:214:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:214:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:214:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:249:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:249:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:249:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:264:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:264:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:264:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:406:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:406:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:406:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:714:17: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:714:17: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:714:17: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:770:17: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:770:17: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:770:17: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:847:25: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:847:25: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:847:25: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1008:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1008:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1008:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1080:17: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1080:17: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1080:17: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4162:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 27 [-Wformat-truncation=] 4162 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5078:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4161:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 32 4161 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4162 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ In file included from ../include/linux/bitops.h:7, from ../include/linux/kernel.h:23, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/cpuid.h:62, from ../arch/x86/include/asm/processor.h:19, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:11: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_rx_pkt’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2259:33: note: in expansion of macro ‘spin_lock_irqsave’ 2259 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_async_event_process’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2767:33: note: in expansion of macro ‘spin_lock_irqsave’ 2767 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_force_fw_reset’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13501:17: note: in expansion of macro ‘spin_lock_irqsave’ 13501 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_fw_reset’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13570:25: note: in expansion of macro ‘spin_lock_irqsave’ 13570 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2259:33: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2259:33: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2259:33: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2767:33: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2767:33: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2767:33: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13501:17: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13501:17: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13501:17: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13570:25: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13570:25: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13570:25: unsigned int * WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? 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_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4162:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 27 [-Wformat-truncation=] 4162 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5078:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4161:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 32 4161 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4162 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o 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 In file included from ../include/linux/bitops.h:7, from ../include/linux/kernel.h:23, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/cpuid.h:62, from ../arch/x86/include/asm/processor.h:19, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:11: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_rx_pkt’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2259:33: note: in expansion of macro ‘spin_lock_irqsave’ 2259 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_async_event_process’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2767:33: note: in expansion of macro ‘spin_lock_irqsave’ 2767 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_force_fw_reset’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13501:17: note: in expansion of macro ‘spin_lock_irqsave’ 13501 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_fw_reset’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13570:25: note: in expansion of macro ‘spin_lock_irqsave’ 13570 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4162:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 27 [-Wformat-truncation=] 4162 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5078:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4161:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 32 4161 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4162 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ In file included from ../include/linux/bitops.h:7, from ../include/linux/kernel.h:23, from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:9: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_settime’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:70:9: note: in expansion of macro ‘spin_lock_irqsave’ 70 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_get_current_time’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:108:9: note: in expansion of macro ‘spin_lock_irqsave’ 108 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_gettimex’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:158:9: note: in expansion of macro ‘spin_lock_irqsave’ 158 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_adjphc’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:197:17: note: in expansion of macro ‘spin_lock_irqsave’ 197 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_adjtime’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:214:9: note: in expansion of macro ‘spin_lock_irqsave’ 214 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_adjfine’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:249:9: note: in expansion of macro ‘spin_lock_irqsave’ 249 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_pps_event’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:264:9: note: in expansion of macro ‘spin_lock_irqsave’ 264 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_get_target_cycles’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:406:9: note: in expansion of macro ‘spin_lock_irqsave’ 406 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_stamp_tx_skb’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:714:17: note: in expansion of macro ‘spin_lock_irqsave’ 714 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_ts_aux_work’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:770:17: note: in expansion of macro ‘spin_lock_irqsave’ 770 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_tx_ts_cmp’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:847:25: note: in expansion of macro ‘spin_lock_irqsave’ 847 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_init_rtc’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1008:9: note: in expansion of macro ‘spin_lock_irqsave’ 1008 | spin_lock_irqsave(&bp->ptp_cfg->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_init’: ../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 12 | (void)(&__dummy == &__dummy2); \ | ^~ ../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ 243 | typecheck(unsigned long, flags); \ | ^~~~~~~~~ ../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1080:17: note: in expansion of macro ‘spin_lock_irqsave’ 1080 | spin_lock_irqsave(&ptp->ptp_lock, flags); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:70:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:70:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:70:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:108:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:108:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:108:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:158:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:158:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:158:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:197:17: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:197:17: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:197:17: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:214:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:214:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:214:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:249:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:249:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:249:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:264:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:264:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:264:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:406:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:406:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:406:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:714:17: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:714:17: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:714:17: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:770:17: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:770:17: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:770:17: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:847:25: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:847:25: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:847:25: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1008:9: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1008:9: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1008:9: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1080:17: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1080:17: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1080:17: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2259:33: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2259:33: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2259:33: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2767:33: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2767:33: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2767:33: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13501:17: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13501:17: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13501:17: unsigned int * ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13570:25: error: incompatible types in comparison expression (different type sizes): ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13570:25: unsigned long * ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13570:25: unsigned int * WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o New errors added --- /tmp/tmp.UurIooNY6Y 2024-10-15 12:18:07.405471919 -0700 +++ /tmp/tmp.pjE0iNl88r 2024-10-15 12:19:27.949821278 -0700 @@ -3,0 +4,65 @@ +In file included from ../include/linux/bitops.h:7, + from ../include/linux/kernel.h:23, + from ../include/linux/cpumask.h:11, + from ../arch/x86/include/asm/paravirt.h:21, + from ../arch/x86/include/asm/cpuid.h:62, + from ../arch/x86/include/asm/processor.h:19, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/stat.h:19, + from ../include/linux/module.h:13, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:11: +../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_rx_pkt’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2259:33: note: in expansion of macro ‘spin_lock_irqsave’ + 2259 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_async_event_process’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2767:33: note: in expansion of macro ‘spin_lock_irqsave’ + 2767 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_force_fw_reset’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13501:17: note: in expansion of macro ‘spin_lock_irqsave’ +13501 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_fw_reset’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13570:25: note: in expansion of macro ‘spin_lock_irqsave’ +13570 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ @@ -14,0 +80,223 @@ +In file included from ../include/linux/bitops.h:7, + from ../include/linux/kernel.h:23, + from ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:9: +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_settime’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:70:9: note: in expansion of macro ‘spin_lock_irqsave’ + 70 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_get_current_time’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:108:9: note: in expansion of macro ‘spin_lock_irqsave’ + 108 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_gettimex’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:158:9: note: in expansion of macro ‘spin_lock_irqsave’ + 158 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_adjphc’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:197:17: note: in expansion of macro ‘spin_lock_irqsave’ + 197 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_adjtime’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:214:9: note: in expansion of macro ‘spin_lock_irqsave’ + 214 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_adjfine’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:249:9: note: in expansion of macro ‘spin_lock_irqsave’ + 249 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_pps_event’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:264:9: note: in expansion of macro ‘spin_lock_irqsave’ + 264 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_get_target_cycles’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:406:9: note: in expansion of macro ‘spin_lock_irqsave’ + 406 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_stamp_tx_skb’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:714:17: note: in expansion of macro ‘spin_lock_irqsave’ + 714 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_ts_aux_work’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:770:17: note: in expansion of macro ‘spin_lock_irqsave’ + 770 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_tx_ts_cmp’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:847:25: note: in expansion of macro ‘spin_lock_irqsave’ + 847 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_init_rtc’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1008:9: note: in expansion of macro ‘spin_lock_irqsave’ + 1008 | spin_lock_irqsave(&bp->ptp_cfg->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c: In function ‘bnxt_ptp_init’: +../include/linux/typecheck.h:12:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] + 12 | (void)(&__dummy == &__dummy2); \ + | ^~ +../include/linux/spinlock.h:243:17: note: in expansion of macro ‘typecheck’ + 243 | typecheck(unsigned long, flags); \ + | ^~~~~~~~~ +../include/linux/spinlock.h:381:9: note: in expansion of macro ‘raw_spin_lock_irqsave’ + 381 | raw_spin_lock_irqsave(spinlock_check(lock), flags); \ + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1080:17: note: in expansion of macro ‘spin_lock_irqsave’ + 1080 | spin_lock_irqsave(&ptp->ptp_lock, flags); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:70:9: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:70:9: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:70:9: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:108:9: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:108:9: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:108:9: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:158:9: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:158:9: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:158:9: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:197:17: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:197:17: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:197:17: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:214:9: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:214:9: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:214:9: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:249:9: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:249:9: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:249:9: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:264:9: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:264:9: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:264:9: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:406:9: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:406:9: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:406:9: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:714:17: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:714:17: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:714:17: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:770:17: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:770:17: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:770:17: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:847:25: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:847:25: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:847:25: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1008:9: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1008:9: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1008:9: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1080:17: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1080:17: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:1080:17: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2259:33: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2259:33: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2259:33: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2767:33: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2767:33: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:2767:33: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13501:17: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13501:17: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13501:17: unsigned int * +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13570:25: error: incompatible types in comparison expression (different type sizes): +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13570:25: unsigned long * +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13570:25: unsigned int * Per-file breakdown --- /tmp/tmp.0BqzhfFegl 2024-10-15 12:19:27.959821197 -0700 +++ /tmp/tmp.9C9b4hTcMU 2024-10-15 12:19:27.965821149 -0700 @@ -0,0 +1 @@ + 4 ../drivers/net/ethernet/broadcom/bnxt/bnxt.c @@ -1,0 +3,2 @@ + 13 ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c + 17 ../include/linux/typecheck.h