Re: [PATCH v2] rtl_pci: add support for Realtek management device
From: kernel test robot
Date: Thu Mar 05 2026 - 07:08:46 EST
Hi javen,
kernel test robot noticed the following build warnings:
[auto build test WARNING on char-misc/char-misc-testing]
[also build test WARNING on char-misc/char-misc-next char-misc/char-misc-linus soc/for-next linus/master v7.0-rc2 next-20260304]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/javen/rtl_pci-add-support-for-Realtek-management-device/20260303-142108
base: char-misc/char-misc-testing
patch link: https://lore.kernel.org/r/20260303061841.1431-1-javen_xu%40realsil.com.cn
patch subject: [PATCH v2] rtl_pci: add support for Realtek management device
config: csky-allmodconfig (https://download.01.org/0day-ci/archive/20260305/202603051934.PPZGZ5mA-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260305/202603051934.PPZGZ5mA-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/202603051934.PPZGZ5mA-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
drivers/misc/rtl_pci.c:27:76: warning: initialized field overwritten [-Woverride-init]
27 | { PCI_VDEVICE(REALTEK, PCI_DEVICE_ID_REALTEK_PCIBR), .class_mask = 0xff00 },
| ^~~~~~
drivers/misc/rtl_pci.c:27:76: note: (near initialization for 'rtl_pci_tbl[5].class_mask')
>> drivers/misc/rtl_pci.c:60:32: warning: 'rtl_pm_ops' defined but not used [-Wunused-const-variable=]
60 | static const struct dev_pm_ops rtl_pm_ops = {
| ^~~~~~~~~~
vim +/rtl_pm_ops +60 drivers/misc/rtl_pci.c
59
> 60 static const struct dev_pm_ops rtl_pm_ops = {
61 SYSTEM_SLEEP_PM_OPS(rtl_pm_suspend, rtl_pm_resume)
62 };
63
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki