From: kernel test robot <lkp@intel.com>
To: Shuan He <heshuan@bytedance.com>,
bhelgaas@google.com, cuiyunhui@bytedance.com
Cc: oe-kbuild-all@lists.linux.dev, linux-pci@vger.kernel.org,
linux-kernel@vger.kernel.org, heshuan@bytedance.com,
sunilvl@ventanamicro.com
Subject: Re: [PATCH] PCI: Fix pci devices double register WARN in the kernel starting process
Date: Thu, 3 Jul 2025 23:09:05 +0800 [thread overview]
Message-ID: <202507032253.sXSgz4lH-lkp@intel.com> (raw)
In-Reply-To: <20250702155112.40124-2-heshuan@bytedance.com>
Hi Shuan,
kernel test robot noticed the following build errors:
[auto build test ERROR on pci/next]
[also build test ERROR on pci/for-linus linus/master v6.16-rc4 next-20250703]
[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/Shuan-He/PCI-Fix-pci-devices-double-register-WARN-in-the-kernel-starting-process/20250703-035442
base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next
patch link: https://lore.kernel.org/r/20250702155112.40124-2-heshuan%40bytedance.com
patch subject: [PATCH] PCI: Fix pci devices double register WARN in the kernel starting process
config: alpha-allnoconfig (https://download.01.org/0day-ci/archive/20250703/202507032253.sXSgz4lH-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250703/202507032253.sXSgz4lH-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/202507032253.sXSgz4lH-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/pci/proc.c: In function 'pci_proc_init':
>> drivers/pci/proc.c:476:25: error: too many arguments to function 'pci_dev_assign_added'; expected 1, have 2
476 | pci_dev_assign_added(dev, true);
| ^~~~~~~~~~~~~~~~~~~~ ~~~~
In file included from drivers/pci/proc.c:18:
drivers/pci/pci.h:577:20: note: declared here
577 | static inline void pci_dev_assign_added(struct pci_dev *dev)
| ^~~~~~~~~~~~~~~~~~~~
vim +/pci_dev_assign_added +476 drivers/pci/proc.c
463
464 static int __init pci_proc_init(void)
465 {
466 struct pci_dev *dev = NULL;
467 proc_bus_pci_dir = proc_mkdir("bus/pci", NULL);
468 proc_create_seq("devices", 0, proc_bus_pci_dir,
469 &proc_bus_pci_devices_op);
470 proc_initialized = 1;
471 pci_lock_rescan_remove();
472 for_each_pci_dev(dev) {
473 if (pci_dev_is_added(dev))
474 continue;
475 if (!pci_proc_attach_device(dev))
> 476 pci_dev_assign_added(dev, true);
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-07-03 15:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-02 15:51 [RFC 0/1] PCI: Fix pci devices double register WARNING " Shuan He
2025-07-02 15:51 ` [PATCH] PCI: Fix pci devices double register WARN " Shuan He
2025-07-03 15:09 ` kernel test robot [this message]
2025-07-03 6:35 ` [RFC 0/1] PCI: Fix pci devices double register WARNING " Sunil V L
2025-07-03 11:31 ` [External] " 拴何
2025-07-03 12:48 ` Manivannan Sadhasivam
2025-07-04 7:41 ` He Shuan
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=202507032253.sXSgz4lH-lkp@intel.com \
--to=lkp@intel.com \
--cc=bhelgaas@google.com \
--cc=cuiyunhui@bytedance.com \
--cc=heshuan@bytedance.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sunilvl@ventanamicro.com \
/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
all inboxes | Powered by JetHome®