diff options
| author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-06-10 13:58:20 +0300 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-08-11 15:00:51 -0500 |
| commit | c763fae8c4231e426033f62c21be60db4b6659a9 (patch) | |
| tree | d0da1090a40c5d16cea925873898d8ea3e1c1eb5 /scripts/gdb/linux/modules.py | |
| parent | aa84931ba7f989c263a79a3a962524b5830d0e64 (diff) | |
PCI: Clean up pci_scan_child_bus_extend() loop
pci_scan_child_bus_extend() open-codes device number iteration in the for
loop. Convert to use PCI_DEVFN() and add PCI_MAX_NR_DEVS (there seems to be
no pre-existing define for this purpose).
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Link: https://patch.msgid.link/20250610105820.7126-3-ilpo.jarvinen@linux.intel.com
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
