Re: [PATCH net-next v1 3/3] realtek: Update Makefile and Kconfig
From: kernel test robot
Date: Tue Jan 27 2026 - 17:35:52 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: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260128/202601280645.owh2ZlCS-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260128/202601280645.owh2ZlCS-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/202601280645.owh2ZlCS-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/realtek/r816e/r816e.c:48:32: warning: unused variable 'rtl816e_pm_ops' [-Wunused-const-variable]
48 | static const struct dev_pm_ops rtl816e_pm_ops = {
| ^~~~~~~~~~~~~~
1 warning generated.
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