========== build_32bit - FAILED ../drivers/net/phy/phy_device.c:3682: warning: Function parameter or struct member 'phydev' not described in 'phy_get_sfp_port' ../drivers/net/phy/phy_port.c:36: warning: Function parameter or struct member 'port' not described in 'phy_port_destroy' ../drivers/net/phy/phy_port.c:84: warning: Function parameter or struct member 'dn' not described in 'phy_of_parse_port' ../drivers/net/phy/phy_port.c:134: warning: Function parameter or struct member 'port' not described in 'phy_port_update_supported' ../drivers/net/phy/phy_port.c:166: warning: Function parameter or struct member 'port' not described in 'phy_port_get_type' ../scripts/Makefile.build:207: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/phy/marvell-88x2222.c:523:34: warning: ‘mv2222_port_ops’ defined but not used [-Wunused-const-variable=] 523 | static const struct phy_port_ops mv2222_port_ops = { | ^~~~~~~~~~~~~~~ ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^~~ ../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/phy/qcom/qca807x.c:698:19: error: ‘phy_sfp_attach’ undeclared here (not in a function); did you mean ‘phy_attach’? 698 | .attach = phy_sfp_attach, | ^~~~~~~~~~~~~~ | phy_attach ../drivers/net/phy/qcom/qca807x.c:699:19: error: ‘phy_sfp_detach’ undeclared here (not in a function); did you mean ‘phy_detach’? 699 | .detach = phy_sfp_detach, | ^~~~~~~~~~~~~~ | phy_detach ../drivers/net/phy/qcom/qca807x.c:702:24: error: ‘phy_sfp_connect_phy’ undeclared here (not in a function) 702 | .connect_phy = phy_sfp_connect_phy, | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/phy/qcom/qca807x.c:703:27: error: ‘phy_sfp_disconnect_phy’ undeclared here (not in a function); did you mean ‘phy_disconnect’? 703 | .disconnect_phy = phy_sfp_disconnect_phy, | ^~~~~~~~~~~~~~~~~~~~~~ | phy_disconnect ../drivers/net/phy/qcom/qca807x.c: In function ‘qca807x_probe’: ../drivers/net/phy/qcom/qca807x.c:748:23: error: implicit declaration of function ‘phy_sfp_probe’ [-Wimplicit-function-declaration] 748 | ret = phy_sfp_probe(phydev, &qca807x_sfp_ops); | ^~~~~~~~~~~~~ make[7]: *** [../scripts/Makefile.build:207: drivers/net/phy/qcom/qca807x.o] Error 1 make[6]: *** [../scripts/Makefile.build:465: drivers/net/phy/qcom] Error 2 make[6]: *** Waiting for unfinished jobs.... ../drivers/net/phy/phy_port.c:36: warning: Function parameter or struct member 'port' not described in 'phy_port_destroy' ../drivers/net/phy/phy_port.c:84: warning: Function parameter or struct member 'dn' not described in 'phy_of_parse_port' ../drivers/net/phy/phy_port.c:134: warning: Function parameter or struct member 'port' not described in 'phy_port_update_supported' ../drivers/net/phy/phy_port.c:166: warning: Function parameter or struct member 'port' not described in 'phy_port_get_type' ../drivers/net/phy/phy_device.c:3672: warning: Function parameter or struct member 'phydev' not described in 'phy_get_sfp_port' make[5]: *** [../scripts/Makefile.build:465: drivers/net/phy] Error 2 make[5]: *** Waiting for unfinished jobs.... ../scripts/Makefile.build:207: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1994: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.93MOBbKEBF 2025-02-07 17:32:48.088694288 -0800 +++ /tmp/tmp.4AP77AFU6x 2025-02-07 17:33:23.503312001 -0800 @@ -1 +1,22 @@ -../drivers/net/phy/phy_device.c:3682: warning: Function parameter or struct member 'phydev' not described in 'phy_get_sfp_port' +../drivers/net/phy/qcom/qca807x.c:698:19: error: ‘phy_sfp_attach’ undeclared here (not in a function); did you mean ‘phy_attach’? + 698 | .attach = phy_sfp_attach, + | ^~~~~~~~~~~~~~ + | phy_attach +../drivers/net/phy/qcom/qca807x.c:699:19: error: ‘phy_sfp_detach’ undeclared here (not in a function); did you mean ‘phy_detach’? + 699 | .detach = phy_sfp_detach, + | ^~~~~~~~~~~~~~ + | phy_detach +../drivers/net/phy/qcom/qca807x.c:702:24: error: ‘phy_sfp_connect_phy’ undeclared here (not in a function) + 702 | .connect_phy = phy_sfp_connect_phy, + | ^~~~~~~~~~~~~~~~~~~ +../drivers/net/phy/qcom/qca807x.c:703:27: error: ‘phy_sfp_disconnect_phy’ undeclared here (not in a function); did you mean ‘phy_disconnect’? + 703 | .disconnect_phy = phy_sfp_disconnect_phy, + | ^~~~~~~~~~~~~~~~~~~~~~ + | phy_disconnect +../drivers/net/phy/qcom/qca807x.c: In function ‘qca807x_probe’: +../drivers/net/phy/qcom/qca807x.c:748:23: error: implicit declaration of function ‘phy_sfp_probe’ [-Wimplicit-function-declaration] + 748 | ret = phy_sfp_probe(phydev, &qca807x_sfp_ops); + | ^~~~~~~~~~~~~ +make[7]: *** [../scripts/Makefile.build:207: drivers/net/phy/qcom/qca807x.o] Error 1 +make[6]: *** [../scripts/Makefile.build:465: drivers/net/phy/qcom] Error 2 +make[6]: *** Waiting for unfinished jobs.... @@ -5,0 +27,3 @@ +../drivers/net/phy/phy_device.c:3672: warning: Function parameter or struct member 'phydev' not described in 'phy_get_sfp_port' +make[5]: *** [../scripts/Makefile.build:465: drivers/net/phy] Error 2 +make[5]: *** Waiting for unfinished jobs.... @@ -7,8 +30,0 @@ -../drivers/net/phy/marvell-88x2222.c:523:34: warning: ‘mv2222_port_ops’ defined but not used [-Wunused-const-variable=] - 523 | static const struct phy_port_ops mv2222_port_ops = { - | ^~~~~~~~~~~~~~~ -../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: -../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] - 2514 | int ret; - | ^~~ -../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new @@ -15,0 +32,7 @@ +../scripts/Makefile.build:207: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new +make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 +make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1994: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 +make: *** [Makefile:251: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.ySOXWOXy9V 2025-02-07 17:33:23.510311925 -0800 +++ /tmp/tmp.WscFeJMvLS 2025-02-07 17:33:23.512311904 -0800 @@ -1 +0,0 @@ - 1 ../drivers/net/phy/marvell-88x2222.c @@ -4 +3 @@ - 1 ../drivers/net/usb/lan78xx.c + 5 ../drivers/net/phy/qcom/qca807x.c