From: kernel test robot <lkp@intel.com>
To: Frank Wunderlich <frank-w@public-files.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [frank-w-bpi-r2-4.14:7.3-rc 154/154] drivers/net/pcs/pcs-mtk-usxgmii.c:363:33: warning: unused variable 'mpcs'
Date: Tue, 29 Sep 2026 03:33:56 +0800 [thread overview]
Message-ID: <202609290300.8shOlJCJ-lkp@intel.com> (raw)
tree: https://github.com/frank-w/BPI-R2-4.14 7.3-rc
head: 9f3e97a095434cde0e8076b38848505d8d7576f5
commit: c74c17aa6bf0d7cadae286faeda6fffeb8b12771 [154/154] Revert "net: pcs: mtk-usxgmii: check link status and phy ctle before reset"
config: sh-allyesconfig (https://download.01.org/0day-ci/archive/20260929/202609290300.8shOlJCJ-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260929/202609290300.8shOlJCJ-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/202609290300.8shOlJCJ-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/net/pcs/pcs-mtk-usxgmii.c: In function 'mtk_usxgmii_pcs_link_up':
>> drivers/net/pcs/pcs-mtk-usxgmii.c:363:33: warning: unused variable 'mpcs' [-Wunused-variable]
363 | struct mtk_usxgmii_pcs *mpcs = pcs_to_mtk_usxgmii_pcs(pcs);
| ^~~~
vim +/mpcs +363 drivers/net/pcs/pcs-mtk-usxgmii.c
f57525000282b1c Daniel Golle 2023-12-12 358
f57525000282b1c Daniel Golle 2023-12-12 359 static void mtk_usxgmii_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode,
f57525000282b1c Daniel Golle 2023-12-12 360 phy_interface_t interface,
f57525000282b1c Daniel Golle 2023-12-12 361 int speed, int duplex)
f57525000282b1c Daniel Golle 2023-12-12 362 {
f57525000282b1c Daniel Golle 2023-12-12 @363 struct mtk_usxgmii_pcs *mpcs = pcs_to_mtk_usxgmii_pcs(pcs);
f57525000282b1c Daniel Golle 2023-12-12 364
f57525000282b1c Daniel Golle 2023-12-12 365 /* Reconfiguring USXGMII to ensure the quality of the RX signal
f57525000282b1c Daniel Golle 2023-12-12 366 * after the line side link up.
f57525000282b1c Daniel Golle 2023-12-12 367 */
f57525000282b1c Daniel Golle 2023-12-12 368 mtk_usxgmii_pcs_config(pcs, neg_mode, interface, NULL, false);
f57525000282b1c Daniel Golle 2023-12-12 369 }
f57525000282b1c Daniel Golle 2023-12-12 370
:::::: The code at line 363 was first introduced by commit
:::::: f57525000282b1caada8ed19f710c3f957e8ad69 net: pcs: add driver for MediaTek USXGMII PCS
:::::: TO: Daniel Golle <daniel@makrotopia.org>
:::::: CC: Frank Wunderlich <frank-w@public-files.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-09-28 19:34 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=202609290300.8shOlJCJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=frank-w@public-files.de \
--cc=oe-kbuild-all@lists.linux.dev \
/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.