From: kernel test robot <lkp@intel.com>
To: aubrey.li@linux.intel.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [anolis-intel-cloud:devel-6.6 254/254] drivers/net/ethernet/linkdata/sxe2/sxe2pf/sxe2_main.c:1533:27: error: 'sxe2_pm_resume' declared 'static' but never defined
Date: Thu, 27 Aug 2026 14:41:07 +0200 [thread overview]
Message-ID: <202608271406.FwkZSiRH-lkp@intel.com> (raw)
tree: https://gitee.com/anolis/intel-cloud-kernel.git devel-6.6
head: 1cb14b8ebd706a55e3cb0251941355687e595e1d
commit: e0244015478adde7baee3a127e43091668d91289 [254/254] anolis: net: update linkdata ethernet driver features.
config: x86_64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260827/202608271406.FwkZSiRH-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260827/202608271406.FwkZSiRH-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/202608271406.FwkZSiRH-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/ethernet/linkdata/sxe2/sxe2pf/sxe2_main.c:1533:27: error: 'sxe2_pm_resume' declared 'static' but never defined [-Werror=unused-function]
1533 | static int __maybe_unused sxe2_pm_resume(struct device *dev);
| ^~~~~~~~~~~~~~
>> drivers/net/ethernet/linkdata/sxe2/sxe2pf/sxe2_main.c:1534:27: error: 'sxe2_pm_suspend' declared 'static' but never defined [-Werror=unused-function]
1534 | static int __maybe_unused sxe2_pm_suspend(struct device *dev);
| ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
>> drivers/net/ethernet/linkdata/sxe2vf/sxe2vf/sxe2vf_main.c:1864:27: error: 'sxe2vf_pm_resume' declared 'static' but never defined [-Werror=unused-function]
1864 | static int __maybe_unused sxe2vf_pm_resume(struct device *dev);
| ^~~~~~~~~~~~~~~~
>> drivers/net/ethernet/linkdata/sxe2vf/sxe2vf/sxe2vf_main.c:1865:27: error: 'sxe2vf_pm_suspend' declared 'static' but never defined [-Werror=unused-function]
1865 | static int __maybe_unused sxe2vf_pm_suspend(struct device *dev);
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +1533 drivers/net/ethernet/linkdata/sxe2/sxe2pf/sxe2_main.c
1532
> 1533 static int __maybe_unused sxe2_pm_resume(struct device *dev);
> 1534 static int __maybe_unused sxe2_pm_suspend(struct device *dev);
1535
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-08-27 12:41 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=202608271406.FwkZSiRH-lkp@intel.com \
--to=lkp@intel.com \
--cc=aubrey.li@linux.intel.com \
--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.