linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [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'?
@ 2021-11-12  1:47 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-12  1:47 UTC (permalink / raw)
  To: Russell King (Oracle); +Cc: kbuild-all, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 2857 bytes --]

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@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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 69478 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-12  1:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-12  1:47 [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).