========== build_allmodconfig_warn - FAILED ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/ethtool/phy.c: In function ‘phy_prepare_data’: ../net/ethtool/phy.c:77:49: error: passing argument 2 of ‘ethnl_req_get_phydev’ from incompatible pointer type [-Wincompatible-pointer-types] 77 | phydev = ethnl_req_get_phydev(req_info, tb, ETHTOOL_A_PHY_HEADER, | ^~ | | | struct nlattr ** In file included from ../net/ethtool/phy.c:7: ../net/ethtool/netlink.h:292:62: note: expected ‘const struct nlattr *’ but argument is of type ‘struct nlattr **’ 292 | const struct nlattr *header, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../net/ethtool/phy.c:77:53: error: passing argument 3 of ‘ethnl_req_get_phydev’ makes pointer from integer without a cast [-Wint-conversion] 77 | phydev = ethnl_req_get_phydev(req_info, tb, ETHTOOL_A_PHY_HEADER, | ^~~~~~~~~~~~~~~~~~~~ | | | int ../net/ethtool/netlink.h:293:65: note: expected ‘struct netlink_ext_ack *’ but argument is of type ‘int’ 293 | struct netlink_ext_ack *extack); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../net/ethtool/phy.c:77:18: error: too many arguments to function ‘ethnl_req_get_phydev’ 77 | phydev = ethnl_req_get_phydev(req_info, tb, ETHTOOL_A_PHY_HEADER, | ^~~~~~~~~~~~~~~~~~~~ ../net/ethtool/netlink.h:291:20: note: declared here 291 | struct phy_device *ethnl_req_get_phydev(const struct ethnl_req_info *req_info, | ^~~~~~~~~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:207: net/ethtool/phy.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:465: net/ethtool] Error 2 make[3]: *** [../scripts/Makefile.build:465: net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1989: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.s9CxRbf9x0 2025-03-05 07:11:59.711900192 -0800 +++ /tmp/tmp.TD4E1TxRQz 2025-03-05 07:12:14.587755902 -0800 @@ -0,0 +1,32 @@ +../net/ethtool/phy.c: In function ‘phy_prepare_data’: +../net/ethtool/phy.c:77:49: error: passing argument 2 of ‘ethnl_req_get_phydev’ from incompatible pointer type [-Wincompatible-pointer-types] + 77 | phydev = ethnl_req_get_phydev(req_info, tb, ETHTOOL_A_PHY_HEADER, + | ^~ + | | + | struct nlattr ** +In file included from ../net/ethtool/phy.c:7: +../net/ethtool/netlink.h:292:62: note: expected ‘const struct nlattr *’ but argument is of type ‘struct nlattr **’ + 292 | const struct nlattr *header, + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ +../net/ethtool/phy.c:77:53: error: passing argument 3 of ‘ethnl_req_get_phydev’ makes pointer from integer without a cast [-Wint-conversion] + 77 | phydev = ethnl_req_get_phydev(req_info, tb, ETHTOOL_A_PHY_HEADER, + | ^~~~~~~~~~~~~~~~~~~~ + | | + | int +../net/ethtool/netlink.h:293:65: note: expected ‘struct netlink_ext_ack *’ but argument is of type ‘int’ + 293 | struct netlink_ext_ack *extack); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +../net/ethtool/phy.c:77:18: error: too many arguments to function ‘ethnl_req_get_phydev’ + 77 | phydev = ethnl_req_get_phydev(req_info, tb, ETHTOOL_A_PHY_HEADER, + | ^~~~~~~~~~~~~~~~~~~~ +../net/ethtool/netlink.h:291:20: note: declared here + 291 | struct phy_device *ethnl_req_get_phydev(const struct ethnl_req_info *req_info, + | ^~~~~~~~~~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:207: net/ethtool/phy.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:465: net/ethtool] Error 2 +make[3]: *** [../scripts/Makefile.build:465: net] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1989: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 +make: *** [Makefile:251: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.kXaXiA0H6P 2025-03-05 07:12:14.593755844 -0800 +++ /tmp/tmp.SaEfrgtsgK 2025-03-05 07:12:14.596755814 -0800 @@ -0,0 +1 @@ + 3 ../net/ethtool/phy.c