Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH net-next 3/3] net: dsa: mt7530: convert to phylink managed EEE
Date: Fri, 7 Feb 2025 12:27:01 +0800	[thread overview]
Message-ID: <202502071244.32dBt3l7-lkp@intel.com> (raw)
In-Reply-To: <E1tfh3R-003aRS-3M@rmk-PC.armlinux.org.uk>

Hi Russell,

kernel test robot noticed the following build errors:

[auto build test ERROR on net-next/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Russell-King-Oracle/net-phylink-provide-phylink_mac_implements_lpi/20250206-032648
base:   net-next/main
patch link:    https://lore.kernel.org/r/E1tfh3R-003aRS-3M%40rmk-PC.armlinux.org.uk
patch subject: [PATCH net-next 3/3] net: dsa: mt7530: convert to phylink managed EEE
config: x86_64-randconfig-072-20250207 (https://download.01.org/0day-ci/archive/20250207/202502071244.32dBt3l7-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250207/202502071244.32dBt3l7-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502071244.32dBt3l7-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/net/dsa/mt7530.c:3008:10: error: no member named 'lpi_timer_limit_us' in 'struct phylink_config'
    3008 |         config->lpi_timer_limit_us = FIELD_MAX(LPI_THRESH_MASK);
         |         ~~~~~~  ^
   1 error generated.


vim +3008 drivers/net/dsa/mt7530.c

  2998	
  2999	static void mt753x_phylink_get_caps(struct dsa_switch *ds, int port,
  3000					    struct phylink_config *config)
  3001	{
  3002		struct mt7530_priv *priv = ds->priv;
  3003		u32 eeecr;
  3004	
  3005		config->mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE;
  3006	
  3007		config->lpi_capabilities = MAC_100FD | MAC_1000FD | MAC_2500FD;
> 3008		config->lpi_timer_limit_us = FIELD_MAX(LPI_THRESH_MASK);
  3009	
  3010		eeecr = mt7530_read(priv, MT753X_PMEEECR_P(port));
  3011		/* tx_lpi_timer should be in microseconds. The time units for
  3012		 * LPI threshold are unspecified.
  3013		 */
  3014		config->lpi_timer_default = FIELD_GET(LPI_THRESH_MASK, eeecr);
  3015	
  3016		priv->info->mac_port_get_caps(ds, port, config);
  3017	}
  3018	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

           reply	other threads:[~2025-02-07  4:28 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <E1tfh3R-003aRS-3M@rmk-PC.armlinux.org.uk>]

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=202502071244.32dBt3l7-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --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