========== build_allmodconfig_warn - FAILED ../net/ethtool/netlink.c:815:12: warning: ‘ethnl_perphy_done’ defined but not used [-Wunused-function] 815 | static int ethnl_perphy_done(struct netlink_callback *cb) | ^~~~~~~~~~~~~~~~~ ../net/ethtool/netlink.c:791:12: warning: ‘ethnl_perphy_dumpit’ defined but not used [-Wunused-function] 791 | static int ethnl_perphy_dumpit(struct sk_buff *skb, | ^~~~~~~~~~~~~~~~~~~ ../net/ethtool/netlink.c:681:12: warning: ‘ethnl_perphy_start’ defined but not used [-Wunused-function] 681 | static int ethnl_perphy_start(struct netlink_callback *cb) | ^~~~~~~~~~~~~~~~~~ ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/ethtool/netlink.c:815:12: warning: ‘ethnl_perphy_done’ defined but not used [-Wunused-function] 815 | static int ethnl_perphy_done(struct netlink_callback *cb) | ^~~~~~~~~~~~~~~~~ ../net/ethtool/netlink.c:791:12: warning: ‘ethnl_perphy_dumpit’ defined but not used [-Wunused-function] 791 | static int ethnl_perphy_dumpit(struct sk_buff *skb, | ^~~~~~~~~~~~~~~~~~~ ../net/ethtool/netlink.c:681:12: warning: ‘ethnl_perphy_start’ defined but not used [-Wunused-function] 681 | static int ethnl_perphy_start(struct netlink_callback *cb) | ^~~~~~~~~~~~~~~~~~ ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? New errors added --- /tmp/tmp.0iDgjFrcMQ 2025-04-10 06:24:45.625663386 -0700 +++ /tmp/tmp.FwEVONmojn 2025-04-10 06:26:10.934609635 -0700 @@ -0,0 +1,9 @@ +../net/ethtool/netlink.c:815:12: warning: ‘ethnl_perphy_done’ defined but not used [-Wunused-function] + 815 | static int ethnl_perphy_done(struct netlink_callback *cb) + | ^~~~~~~~~~~~~~~~~ +../net/ethtool/netlink.c:791:12: warning: ‘ethnl_perphy_dumpit’ defined but not used [-Wunused-function] + 791 | static int ethnl_perphy_dumpit(struct sk_buff *skb, + | ^~~~~~~~~~~~~~~~~~~ +../net/ethtool/netlink.c:681:12: warning: ‘ethnl_perphy_start’ defined but not used [-Wunused-function] + 681 | static int ethnl_perphy_start(struct netlink_callback *cb) + | ^~~~~~~~~~~~~~~~~~ Per-file breakdown --- /tmp/tmp.flp2hPRTKm 2025-04-10 06:26:10.939773440 -0700 +++ /tmp/tmp.Qud7LJq4Lb 2025-04-10 06:26:10.942773409 -0700 @@ -0,0 +1 @@ + 3 ../net/ethtool/netlink.c