[arm:zii 35/93] drivers/net/dsa/b53/b53_common.c:2283:3: error: field designator 'adjust_link' does not refer to any field in type 'const struct dsa_switch_ops'
kernel test robot
lkp at intel.com
Sun May 5 08:36:14 PDT 2024
tree: git://git.armlinux.org.uk/~rmk/linux-arm.git zii
head: b602a1302aefbab72bb6e770c84998f0878536f8
commit: 3517bea94ef507148072d1ae9b6b1cfc097fa278 [35/93] net: dsa: Remove adjust_link paths
config: arm-defconfig (https://download.01.org/0day-ci/archive/20240505/202405052312.ZN4UrG6u-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240505/202405052312.ZN4UrG6u-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405052312.ZN4UrG6u-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/dsa/b53/b53_common.c:2283:3: error: field designator 'adjust_link' does not refer to any field in type 'const struct dsa_switch_ops'
.adjust_link = b53_adjust_link,
^
1 error generated.
vim +2283 drivers/net/dsa/b53/b53_common.c
6ae5834b983ac1 Murali Krishna Policharla 2020-03-27 2272
a82f67afe8e297 Florian Fainelli 2017-01-08 2273 static const struct dsa_switch_ops b53_switch_ops = {
7b314362a2344f Andrew Lunn 2016-08-22 2274 .get_tag_protocol = b53_get_tag_protocol,
967dd82ffc52e9 Florian Fainelli 2016-06-09 2275 .setup = b53_setup,
4f6a5caf187ff5 Florian Fainelli 2020-09-09 2276 .teardown = b53_teardown,
967dd82ffc52e9 Florian Fainelli 2016-06-09 2277 .get_strings = b53_get_strings,
967dd82ffc52e9 Florian Fainelli 2016-06-09 2278 .get_ethtool_stats = b53_get_ethtool_stats,
967dd82ffc52e9 Florian Fainelli 2016-06-09 2279 .get_sset_count = b53_get_sset_count,
c7d28c9df292a4 Florian Fainelli 2018-04-25 2280 .get_ethtool_phy_stats = b53_get_ethtool_phy_stats,
967dd82ffc52e9 Florian Fainelli 2016-06-09 2281 .phy_read = b53_phy_read16,
967dd82ffc52e9 Florian Fainelli 2016-06-09 2282 .phy_write = b53_phy_write16,
967dd82ffc52e9 Florian Fainelli 2016-06-09 @2283 .adjust_link = b53_adjust_link,
dda1c25751fa22 Russell King (Oracle 2022-02-22 2284) .phylink_get_caps = b53_phylink_get_caps,
79396934e289db Russell King (Oracle 2022-04-29 2285) .phylink_mac_select_pcs = b53_phylink_mac_select_pcs,
a8e8b98531369c Florian Fainelli 2018-09-05 2286 .phylink_mac_config = b53_phylink_mac_config,
a8e8b98531369c Florian Fainelli 2018-09-05 2287 .phylink_mac_link_down = b53_phylink_mac_link_down,
a8e8b98531369c Florian Fainelli 2018-09-05 2288 .phylink_mac_link_up = b53_phylink_mac_link_up,
967dd82ffc52e9 Florian Fainelli 2016-06-09 2289 .port_enable = b53_enable_port,
967dd82ffc52e9 Florian Fainelli 2016-06-09 2290 .port_disable = b53_disable_port,
f43a2dbe959703 Florian Fainelli 2017-09-19 2291 .get_mac_eee = b53_get_mac_eee,
f43a2dbe959703 Florian Fainelli 2017-09-19 2292 .set_mac_eee = b53_set_mac_eee,
ff39c2d68679c8 Florian Fainelli 2016-06-09 2293 .port_bridge_join = b53_br_join,
ff39c2d68679c8 Florian Fainelli 2016-06-09 2294 .port_bridge_leave = b53_br_leave,
a8b659e7ff75a6 Vladimir Oltean 2021-02-12 2295 .port_pre_bridge_flags = b53_br_flags_pre,
a8b659e7ff75a6 Vladimir Oltean 2021-02-12 2296 .port_bridge_flags = b53_br_flags,
ff39c2d68679c8 Florian Fainelli 2016-06-09 2297 .port_stp_state_set = b53_br_set_stp_state,
597698f1e00d37 Vivien Didelot 2016-09-22 2298 .port_fast_age = b53_br_fast_age,
a2482d2ce34986 Florian Fainelli 2016-06-09 2299 .port_vlan_filtering = b53_vlan_filtering,
a2482d2ce34986 Florian Fainelli 2016-06-09 2300 .port_vlan_add = b53_vlan_add,
a2482d2ce34986 Florian Fainelli 2016-06-09 2301 .port_vlan_del = b53_vlan_del,
1da6df85c6fbed Florian Fainelli 2016-06-09 2302 .port_fdb_dump = b53_fdb_dump,
1da6df85c6fbed Florian Fainelli 2016-06-09 2303 .port_fdb_add = b53_fdb_add,
1da6df85c6fbed Florian Fainelli 2016-06-09 2304 .port_fdb_del = b53_fdb_del,
ed3af5fd08ebe3 Florian Fainelli 2017-01-30 2305 .port_mirror_add = b53_mirror_add,
ed3af5fd08ebe3 Florian Fainelli 2017-01-30 2306 .port_mirror_del = b53_mirror_del,
5d65b64a3d9701 Florian Fainelli 2019-10-24 2307 .port_mdb_add = b53_mdb_add,
5d65b64a3d9701 Florian Fainelli 2019-10-24 2308 .port_mdb_del = b53_mdb_del,
6ae5834b983ac1 Murali Krishna Policharla 2020-03-27 2309 .port_max_mtu = b53_get_max_mtu,
6ae5834b983ac1 Murali Krishna Policharla 2020-03-27 2310 .port_change_mtu = b53_change_mtu,
967dd82ffc52e9 Florian Fainelli 2016-06-09 2311 };
967dd82ffc52e9 Florian Fainelli 2016-06-09 2312
:::::: The code at line 2283 was first introduced by commit
:::::: 967dd82ffc52e9d8ea0defde094f9a39a3f4eeed net: dsa: b53: Add support for Broadcom RoboSwitch
:::::: TO: Florian Fainelli <f.fainelli at gmail.com>
:::::: CC: David S. Miller <davem at davemloft.net>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-arm-kernel
mailing list