From: kernel test robot <lkp@intel.com>
To: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org
Subject: Re: [PATCH RFC net-next 2/5] net: dsa: mv88e6xxx: report the default interface mode for the port
Date: Wed, 6 Jul 2022 19:04:08 +0800 [thread overview]
Message-ID: <202207061812.FVnuLMD9-lkp@intel.com> (raw)
In-Reply-To: <E1o8f9s-0059a6-3S@rmk-PC.armlinux.org.uk>
Hi "Russell,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on net-next/master]
url: https://github.com/intel-lab-lkp/linux/commits/Russell-King-Oracle/net-dsa-add-support-for-retrieving-the-interface-mode/20220705-175304
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 874bdbfe624e577687c2053a26aab44715c68453
config: x86_64-randconfig-a012-20220704 (https://download.01.org/0day-ci/archive/20220706/202207061812.FVnuLMD9-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f553287b588916de09c66e3e32bf75e5060f967f)
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
# https://github.com/intel-lab-lkp/linux/commit/9423b094f4b1e0c313bbdd0e65cd0824b51e3016
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Russell-King-Oracle/net-dsa-add-support-for-retrieving-the-interface-mode/20220705-175304
git checkout 9423b094f4b1e0c313bbdd0e65cd0824b51e3016
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/dsa/mv88e6xxx/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/net/dsa/mv88e6xxx/chip.c:861:5: warning: unused variable 'cmode' [-Wunused-variable]
u8 cmode = chip->ports[port].cmode;
^
1 warning generated.
vim +/cmode +861 drivers/net/dsa/mv88e6xxx/chip.c
855
856 static void mv88e6xxx_get_caps(struct dsa_switch *ds, int port,
857 struct phylink_config *config,
858 phy_interface_t *default_interface)
859 {
860 struct mv88e6xxx_chip *chip = ds->priv;
> 861 u8 cmode = chip->ports[port].cmode;
862
863 chip->info->ops->phylink_get_caps(chip, port, config,
864 default_interface);
865
866 /* Internal ports need GMII for PHYLIB */
867 if (mv88e6xxx_phy_is_internal(ds, port))
868 __set_bit(PHY_INTERFACE_MODE_GMII,
869 config->supported_interfaces);
870 }
871
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-07-06 11:05 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-05 9:46 [PATCH RFC net-next v2 0/5] net: dsa: always use phylink Russell King (Oracle)
2022-07-05 9:46 ` Russell King (Oracle)
2022-07-05 9:47 ` [PATCH RFC net-next 1/5] net: dsa: add support for retrieving the interface mode Russell King (Oracle)
2022-07-05 9:47 ` Russell King (Oracle)
2022-07-05 9:47 ` [PATCH RFC net-next 2/5] net: dsa: mv88e6xxx: report the default interface mode for the port Russell King (Oracle)
2022-07-05 9:47 ` Russell King (Oracle)
2022-07-05 10:55 ` Marek Behún
2022-07-05 10:55 ` Marek Behún
2022-07-06 11:04 ` kernel test robot [this message]
2022-07-05 9:47 ` [PATCH RFC net-next 3/5] net: phylink: split out interface to caps translation Russell King (Oracle)
2022-07-05 9:47 ` Russell King (Oracle)
2022-07-05 9:48 ` [PATCH RFC net-next 4/5] net: phylink: add phylink_set_max_fixed_link() Russell King (Oracle)
2022-07-05 9:48 ` Russell King (Oracle)
2022-07-05 10:58 ` Marek Behún
2022-07-05 10:58 ` Marek Behún
2022-07-05 9:48 ` [PATCH RFC net-next 5/5] net: dsa: always use phylink for CPU and DSA ports Russell King (Oracle)
2022-07-05 9:48 ` Russell King (Oracle)
2022-07-06 10:26 ` Vladimir Oltean
2022-07-06 10:26 ` Vladimir Oltean
2022-07-06 16:24 ` Russell King (Oracle)
2022-07-06 16:24 ` Russell King (Oracle)
2022-07-07 10:09 ` Russell King (Oracle)
2022-07-07 10:09 ` Russell King (Oracle)
2022-07-07 15:27 ` Vladimir Oltean
2022-07-07 15:27 ` Vladimir Oltean
2022-07-07 15:48 ` Russell King (Oracle)
2022-07-07 15:48 ` Russell King (Oracle)
2022-07-07 16:38 ` Vladimir Oltean
2022-07-07 16:38 ` Vladimir Oltean
2022-07-07 17:15 ` Russell King (Oracle)
2022-07-07 17:15 ` Russell King (Oracle)
2022-07-07 19:37 ` Vladimir Oltean
2022-07-07 19:37 ` Vladimir Oltean
2022-07-07 20:23 ` Russell King (Oracle)
2022-07-07 20:23 ` Russell King (Oracle)
2022-07-07 21:48 ` Vladimir Oltean
2022-07-07 21:48 ` Vladimir Oltean
2022-07-08 15:25 ` Russell King (Oracle)
2022-07-08 15:25 ` Russell King (Oracle)
2022-07-08 15:40 ` Marek Behún
2022-07-08 15:40 ` Marek Behún
2022-07-07 11:00 ` Russell King (Oracle)
2022-07-07 11:00 ` Russell King (Oracle)
2022-07-07 15:43 ` Vladimir Oltean
2022-07-07 15:43 ` Vladimir Oltean
2022-07-07 16:32 ` Russell King (Oracle)
2022-07-07 16:32 ` Russell King (Oracle)
2022-07-07 16:50 ` Vladimir Oltean
2022-07-07 16:50 ` Vladimir Oltean
2022-07-05 16:42 ` [PATCH RFC net-next v2 0/5] net: dsa: always use phylink Florian Fainelli
2022-07-05 16:42 ` Florian Fainelli
2022-07-06 10:14 ` Vladimir Oltean
2022-07-06 10:14 ` Vladimir Oltean
2022-07-06 16:27 ` Florian Fainelli
2022-07-06 16:27 ` Florian Fainelli
2022-07-06 19:05 ` Hauke Mehrtens
2022-07-06 19:05 ` Hauke Mehrtens
2022-07-06 20:24 ` Russell King (Oracle)
2022-07-06 20:24 ` Russell King (Oracle)
2022-07-06 17:22 ` Kurt Kanzenbach
2022-07-06 17:22 ` Kurt Kanzenbach
2022-07-06 22:46 ` Linus Walleij
2022-07-06 22:46 ` Linus Walleij
2022-07-07 13:46 ` Linus Walleij
2022-07-07 13:46 ` Linus Walleij
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=202207061812.FVnuLMD9-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=llvm@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.