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.1-main 166/166] include/linux/pcs/pcs.h:95:12: warning: 'unregister_fwnode_pcs_notifier' defined but not used
Date: Mon, 29 Jun 2026 13:51:41 +0800 [thread overview]
Message-ID: <202606291356.YmL2vpUv-lkp@intel.com> (raw)
tree: https://github.com/frank-w/BPI-R2-4.14 7.1-main
head: 6e50e153eb2b19f7ccc5aad3545bee4a7b6faea0
commit: 7e58cf54169b7bb649742efbbf4a76f2185f07db [166/166] net: ethernet: mediatek: mtkmux: harden mux/phylink lifecycle
config: sh-randconfig-002-20260629 (https://download.01.org/0day-ci/archive/20260629/202606291356.YmL2vpUv-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260629/202606291356.YmL2vpUv-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/202606291356.YmL2vpUv-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/net/ethernet/mediatek/mtk_eth_soc.c:25:
include/linux/pcs/pcs.h:107:1: warning: 'fwnode_phylink_pcs_get_from_fwnode' defined but not used [-Wunused-function]
107 | fwnode_phylink_pcs_get_from_fwnode(struct fwnode_handle *fwnode,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/pcs/pcs.h:95:12: warning: 'unregister_fwnode_pcs_notifier' defined but not used [-Wunused-function]
95 | static int unregister_fwnode_pcs_notifier(struct notifier_block *nb)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pcs/pcs.h:90:12: warning: 'register_fwnode_pcs_notifier' defined but not used [-Wunused-function]
90 | static int register_fwnode_pcs_notifier(struct notifier_block *nb)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
{standard input}: Assembler messages:
{standard input}:8103: Error: offset to unaligned destination
{standard input}:9134: Error: offset to unaligned destination
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for MFD_STMFX
Depends on [n]: HAS_IOMEM [=y] && I2C [=y] && OF [=n]
Selected by [y]:
- PINCTRL_STMFX [=y] && PINCTRL [=y] && I2C [=y] && HAS_IOMEM [=y]
vim +/unregister_fwnode_pcs_notifier +95 include/linux/pcs/pcs.h
94
> 95 static int unregister_fwnode_pcs_notifier(struct notifier_block *nb)
96 {
97 return -EOPNOTSUPP;
98 }
99
100 static inline struct phylink_pcs *fwnode_pcs_get(struct fwnode_handle *fwnode,
101 int index)
102 {
103 return ERR_PTR(-ENOENT);
104 }
105
106 static struct phylink_pcs *
> 107 fwnode_phylink_pcs_get_from_fwnode(struct fwnode_handle *fwnode,
108 struct fwnode_handle *pcs_fwnode)
109 {
110 return ERR_PTR(-ENOENT);
111 }
112
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-06-29 5:52 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=202606291356.YmL2vpUv-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.