]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: Refactor find_bus_resource_of_type() logic checks
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 29 Aug 2025 13:10:54 +0000 (16:10 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 16 Sep 2025 16:18:59 +0000 (11:18 -0500)
commit1ce76bc0497b9289d6f6195258d8bdc1c42eb91a
treee980745d5d893969ce93c280a66e7ae8b86947f5
parente240edffd04fe179536f7b5c22daae1e3b509b46
PCI: Refactor find_bus_resource_of_type() logic checks

Reorder the logic checks in find_bus_resource_of_type() to simplify them.

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-6-ilpo.jarvinen@linux.intel.com
drivers/pci/setup-bus.c