Re: [PATCH net-next v1 3/3] realtek: Update Makefile and Kconfig
From: kernel test robot
Date: Tue Jan 27 2026 - 17:35:17 EST
Hi javen,
kernel test robot noticed the following build warnings:
[auto build test WARNING on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/javen/r816e-add-a-fake-driver-r816e-for-RTL8116af/20260127-193831
base: net-next/main
patch link: https://lore.kernel.org/r/20260127113425.1989-4-javen_xu%40realsil.com.cn
patch subject: [PATCH net-next v1 3/3] realtek: Update Makefile and Kconfig
config: openrisc-allmodconfig (https://download.01.org/0day-ci/archive/20260128/202601280610.ncyvilQz-lkp@xxxxxxxxx/config)
compiler: or1k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260128/202601280610.ncyvilQz-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601280610.ncyvilQz-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/realtek/r816e/r816e.c:48:32: warning: 'rtl816e_pm_ops' defined but not used [-Wunused-const-variable=]
48 | static const struct dev_pm_ops rtl816e_pm_ops = {
| ^~~~~~~~~~~~~~
vim +/rtl816e_pm_ops +48 drivers/net/ethernet/realtek/r816e/r816e.c
638d27c0a2f682 Javen Xu 2026-01-27 47
638d27c0a2f682 Javen Xu 2026-01-27 @48 static const struct dev_pm_ops rtl816e_pm_ops = {
638d27c0a2f682 Javen Xu 2026-01-27 49 SYSTEM_SLEEP_PM_OPS(rtl816e_pm_suspend, rtl816e_pm_resume)
638d27c0a2f682 Javen Xu 2026-01-27 50 };
638d27c0a2f682 Javen Xu 2026-01-27 51
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki