linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org
Subject: [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'?
Date: Fri, 12 Nov 2021 09:47:54 +0800	[thread overview]
Message-ID: <202111120948.CVsffiWo-lkp@intel.com> (raw)

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

                 reply	other threads:[~2021-11-12  1:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202111120948.CVsffiWo-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=rmk+kernel@armlinux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).