tree: git://git.armlinux.org.uk/~rmk/linux-arm.git zii
head: 44ecc8bc50178042162a540be580123e600f2d87
commit: 6f9538c663d4d54ef73d8c6b78f24e3f4eb144ac [19/90] net: dsa: propagate resolved link
config via mac_link_up()
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout 6f9538c663d4d54ef73d8c6b78f24e3f4eb144ac
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/net/dsa/ocelot/felix.c:611:25: error: initialization from
incompatible pointer type [-Werror=incompatible-pointer-types]
.phylink_mac_link_up = felix_phylink_mac_link_up,
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/ocelot/felix.c:611:25: note: (near initialization for
'felix_switch_ops.phylink_mac_link_up')
cc1: some warnings being treated as errors
--
> drivers/net/dsa/qca/ar9331.c:481:25: error: initialization from
incompatible pointer type [-Werror=incompatible-pointer-types]
.phylink_mac_link_up = ar9331_sw_phylink_mac_link_up,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/qca/ar9331.c:481:25: note: (near initialization for
'ar9331_sw_ops.phylink_mac_link_up')
cc1: some warnings being treated as errors
vim +611 drivers/net/dsa/ocelot/felix.c
c0bcf537667cf8 Yangbo Lu 2019-11-20 596
56051948773eeb Vladimir Oltean 2019-11-14 597 static const struct dsa_switch_ops
felix_switch_ops = {
56051948773eeb Vladimir Oltean 2019-11-14 598 .get_tag_protocol =
felix_get_tag_protocol,
56051948773eeb Vladimir Oltean 2019-11-14 599 .setup = felix_setup,
56051948773eeb Vladimir Oltean 2019-11-14 600 .teardown = felix_teardown,
56051948773eeb Vladimir Oltean 2019-11-14 601 .set_ageing_time =
felix_set_ageing_time,
56051948773eeb Vladimir Oltean 2019-11-14 602 .get_strings = felix_get_strings,
56051948773eeb Vladimir Oltean 2019-11-14 603 .get_ethtool_stats =
felix_get_ethtool_stats,
56051948773eeb Vladimir Oltean 2019-11-14 604 .get_sset_count = felix_get_sset_count,
56051948773eeb Vladimir Oltean 2019-11-14 605 .get_ts_info = felix_get_ts_info,
bdeced75b13f8a Vladimir Oltean 2020-01-06 606 .phylink_validate =
felix_phylink_validate,
bdeced75b13f8a Vladimir Oltean 2020-01-06 607 .phylink_mac_link_state =
felix_phylink_mac_pcs_get_state,
bdeced75b13f8a Vladimir Oltean 2020-01-06 608 .phylink_mac_config =
felix_phylink_mac_config,
bdeced75b13f8a Vladimir Oltean 2020-01-06 609 .phylink_mac_an_restart =
felix_phylink_mac_an_restart,
bdeced75b13f8a Vladimir Oltean 2020-01-06 610 .phylink_mac_link_down =
felix_phylink_mac_link_down,
bdeced75b13f8a Vladimir Oltean 2020-01-06 @611 .phylink_mac_link_up =
felix_phylink_mac_link_up,
56051948773eeb Vladimir Oltean 2019-11-14 612 .port_enable = felix_port_enable,
56051948773eeb Vladimir Oltean 2019-11-14 613 .port_disable = felix_port_disable,
56051948773eeb Vladimir Oltean 2019-11-14 614 .port_fdb_dump = felix_fdb_dump,
56051948773eeb Vladimir Oltean 2019-11-14 615 .port_fdb_add = felix_fdb_add,
56051948773eeb Vladimir Oltean 2019-11-14 616 .port_fdb_del = felix_fdb_del,
56051948773eeb Vladimir Oltean 2019-11-14 617 .port_bridge_join = felix_bridge_join,
56051948773eeb Vladimir Oltean 2019-11-14 618 .port_bridge_leave = felix_bridge_leave,
56051948773eeb Vladimir Oltean 2019-11-14 619 .port_stp_state_set =
felix_bridge_stp_state_set,
56051948773eeb Vladimir Oltean 2019-11-14 620 .port_vlan_prepare = felix_vlan_prepare,
56051948773eeb Vladimir Oltean 2019-11-14 621 .port_vlan_filtering =
felix_vlan_filtering,
56051948773eeb Vladimir Oltean 2019-11-14 622 .port_vlan_add = felix_vlan_add,
56051948773eeb Vladimir Oltean 2019-11-14 623 .port_vlan_del = felix_vlan_del,
c0bcf537667cf8 Yangbo Lu 2019-11-20 624 .port_hwtstamp_get = felix_hwtstamp_get,
c0bcf537667cf8 Yangbo Lu 2019-11-20 625 .port_hwtstamp_set = felix_hwtstamp_set,
c0bcf537667cf8 Yangbo Lu 2019-11-20 626 .port_rxtstamp = felix_rxtstamp,
c0bcf537667cf8 Yangbo Lu 2019-11-20 627 .port_txtstamp = felix_txtstamp,
56051948773eeb Vladimir Oltean 2019-11-14 628 };
56051948773eeb Vladimir Oltean 2019-11-14 629
:::::: The code at line 611 was first introduced by commit
:::::: bdeced75b13f8a0fc8e32b70e517a8dbb7d51738 net: dsa: felix: Add PCS operations for
PHYLINK
:::::: TO: Vladimir Oltean <vladimir.oltean(a)nxp.com>
:::::: CC: David S. Miller <davem(a)davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org