]> Gentwo Git Trees - linux/.git/commit
PCI: Refactor remove_dev_resources() to use pbus_select_window()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 29 Aug 2025 13:11:10 +0000 (16:11 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 16 Sep 2025 16:19:59 +0000 (11:19 -0500)
commitaaae2863e7319b0201029868433e8356b923063c
treea97f73ab98b81cf968fa42c04486066d8572e368
parent4292a1e45fd464551efac7b2b52fd3606e956c28
PCI: Refactor remove_dev_resources() to use pbus_select_window()

Convert remove_dev_resources() to use pbus_select_window(). As 'available'
is not the real resources, the index has to be adjusted as only bridge
resource counterparts are present in the 'available' array.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20250829131113.36754-22-ilpo.jarvinen@linux.intel.com
drivers/pci/setup-bus.c