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 ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:24: In file included from ../include/linux/timer.h:6: In file included from ../include/linux/ktime.h:25: In file included from ../include/linux/jiffies.h:10: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:62: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13488:23: warning: unused variable 'ptp' [-Wunused-variable] 13488 | struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; | ^~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13555:24: warning: unused variable 'ptp' [-Wunused-variable] 13555 | struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; | ^~~ 2 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.c:13488:23: warning: unused variable 'ptp' [-Wunused-variable] 13488 | struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; | ^~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13555:24: warning: unused variable 'ptp' [-Wunused-variable] 13555 | struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; | ^~~ 2 warnings generated. New errors added --- /tmp/tmp.taGU5miIQH 2024-10-14 16:36:03.403992645 -0700 +++ /tmp/tmp.QS46LipbUa 2024-10-14 16:37:15.089339348 -0700 @@ -3,0 +4,7 @@ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13488:23: warning: unused variable 'ptp' [-Wunused-variable] + 13488 | struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; + | ^~~ +../drivers/net/ethernet/broadcom/bnxt/bnxt.c:13555:24: warning: unused variable 'ptp' [-Wunused-variable] + 13555 | struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; + | ^~~ +2 warnings generated. Per-file breakdown --- /tmp/tmp.BKaQruSXz2 2024-10-14 16:38:00.445925994 -0700 +++ /tmp/tmp.lOBLwQ4AUz 2024-10-14 16:38:00.450925949 -0700 @@ -0,0 +1 @@ + 2 ../drivers/net/ethernet/broadcom/bnxt/bnxt.c