Re: [PATCH net-next v1 3/3] realtek: Update Makefile and Kconfig
From: kernel test robot <hidden>
Date: 2026-01-27 22:34:59
Also in:
lkml, oe-kbuild-all
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@intel.com/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@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 [off-list ref] | Closes: https://lore.kernel.org/oe-kbuild-all/202601280610.ncyvilQz-lkp@intel.com/ (local) All warnings (new ones prefixed by >>):
quoted
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