========== build_clang - FAILED ../drivers/net/phy/realtek/realtek_main.c:139:12: warning: unused function 'rtl8211e_read_ext_page' [-Wunused-function] 139 | static int rtl8211e_read_ext_page(struct phy_device *phydev, u16 ext_page, | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../scripts/Makefile.build:207: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: 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:71: 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:392: ../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. 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:71: 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:392: ../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. ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/phy/realtek/realtek_main.c:139:12: warning: unused function 'rtl8211e_read_ext_page' [-Wunused-function] 139 | static int rtl8211e_read_ext_page(struct phy_device *phydev, u16 ext_page, | ^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. New errors added --- /tmp/tmp.CZKrW1i2Vi 2025-03-14 04:31:11.014024487 -0700 +++ /tmp/tmp.2hSXGlbVQG 2025-03-14 04:32:15.198434263 -0700 @@ -0,0 +1,4 @@ +../drivers/net/phy/realtek/realtek_main.c:139:12: warning: unused function 'rtl8211e_read_ext_page' [-Wunused-function] + 139 | static int rtl8211e_read_ext_page(struct phy_device *phydev, u16 ext_page, + | ^~~~~~~~~~~~~~~~~~~~~~ +1 warning generated. Per-file breakdown --- /tmp/tmp.JKiEjPnWPk 2025-03-14 04:32:15.205434199 -0700 +++ /tmp/tmp.SU2ALK3eUB 2025-03-14 04:32:15.209434162 -0700 @@ -0,0 +1 @@ + 1 ../drivers/net/phy/realtek/realtek_main.c