* [frank-w-bpi-r2-4.14:7.3-rc 154/154] drivers/net/pcs/pcs-mtk-usxgmii.c:363:33: warning: unused variable 'mpcs'
@ 2026-09-28 19:33 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-28 19:33 UTC (permalink / raw)
To: Frank Wunderlich; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-28 19:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-28 19:33 [frank-w-bpi-r2-4.14:7.3-rc 154/154] drivers/net/pcs/pcs-mtk-usxgmii.c:363:33: warning: unused variable 'mpcs' kernel test robot
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.