public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: javen <javen_xu@realsil.com.cn>,
	arnd@arndb.de, gregkh@linuxfoundation.org
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Javen Xu <javen_xu@realsil.com.cn>
Subject: Re: [PATCH v2] rtl_pci: add support for Realtek management device
Date: Thu, 5 Mar 2026 19:58:20 +0800	[thread overview]
Message-ID: <202603051934.PPZGZ5mA-lkp@intel.com> (raw)
In-Reply-To: <20260303061841.1431-1-javen_xu@realsil.com.cn>

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@intel.com/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@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/202603051934.PPZGZ5mA-lkp@intel.com/

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

  parent reply	other threads:[~2026-03-05 11:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-03  6:18 [PATCH v2] rtl_pci: add support for Realtek management device javen
2026-03-03  6:55 ` Arnd Bergmann
2026-03-05 11:58 ` kernel test robot [this message]
2026-03-06  9:05 ` kernel test robot

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=202603051934.PPZGZ5mA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=javen_xu@realsil.com.cn \
    --cc=linux-kernel@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox