[arm:zii 47/102] drivers/net/ethernet/freescale/enetc/enetc_pf.c:1073:28: error: 'struct phylink_config' has no member named 'mac_capabilties'; did you mean 'mac_capabilities'?
kernel test robot
lkp at intel.com
Thu Nov 11 17:47:54 PST 2021
tree: git://git.armlinux.org.uk/~rmk/linux-arm.git zii
head: 259f23bb268ce5e8c9dcc5791ca96448a3180a93
commit: 67d8f4a7c09e991825026c244febbe2b4c632382 [47/102] net: enetc: use phylink_generic_validate()
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git
git fetch --no-tags arm zii
git checkout 67d8f4a7c09e991825026c244febbe2b4c632382
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
drivers/net/ethernet/freescale/enetc/enetc_pf.c: In function 'enetc_phylink_create':
>> drivers/net/ethernet/freescale/enetc/enetc_pf.c:1073:28: error: 'struct phylink_config' has no member named 'mac_capabilties'; did you mean 'mac_capabilities'?
1073 | pf->phylink_config.mac_capabilties = MAC_ASYM_PAUSE | MAC_SYM_PAUSE |
| ^~~~~~~~~~~~~~~
| mac_capabilities
vim +1073 drivers/net/ethernet/freescale/enetc/enetc_pf.c
1063
1064 static int enetc_phylink_create(struct enetc_ndev_priv *priv,
1065 struct device_node *node)
1066 {
1067 struct enetc_pf *pf = enetc_si_priv(priv->si);
1068 struct phylink *phylink;
1069 int err;
1070
1071 pf->phylink_config.dev = &priv->ndev->dev;
1072 pf->phylink_config.type = PHYLINK_NETDEV;
> 1073 pf->phylink_config.mac_capabilties = MAC_ASYM_PAUSE | MAC_SYM_PAUSE |
1074 MAC_10 | MAC_100 | MAC_1000 | MAC_2500FD;
1075
1076 __set_bit(PHY_INTERFACE_MODE_INTERNAL,
1077 pf->phylink_config.supported_interfaces);
1078 __set_bit(PHY_INTERFACE_MODE_SGMII,
1079 pf->phylink_config.supported_interfaces);
1080 __set_bit(PHY_INTERFACE_MODE_2500BASEX,
1081 pf->phylink_config.supported_interfaces);
1082 __set_bit(PHY_INTERFACE_MODE_USXGMII,
1083 pf->phylink_config.supported_interfaces);
1084 phy_interface_set_rgmii(pf->phylink_config.supported_interfaces);
1085
1086 phylink = phylink_create(&pf->phylink_config, of_fwnode_handle(node),
1087 pf->if_mode, &enetc_mac_phylink_ops);
1088 if (IS_ERR(phylink)) {
1089 err = PTR_ERR(phylink);
1090 return err;
1091 }
1092
1093 priv->phylink = phylink;
1094
1095 return 0;
1096 }
1097
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 69478 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20211112/18ac0349/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list