aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/pci/setup-bus.c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-02-07 18:23:01 +0200
committerBjorn Helgaas <bhelgaas@google.com>2025-02-14 14:39:31 -0600
commitaddb30c5bd2755770e617e68bdcc0bf2a21770fa (patch)
tree886a6fd3e893df987b48bba52f09cf2d376a97c3 /drivers/pci/setup-bus.c
parentLinux 6.14-rc1 (diff)
downloadwireguard-linux-addb30c5bd2755770e617e68bdcc0bf2a21770fa.tar.xz
wireguard-linux-addb30c5bd2755770e617e68bdcc0bf2a21770fa.zip
PCI: Cleanup dev->resource + resno to use pci_resource_n()
Replace pointer arithmetic in finding the correct resource entry with the pci_resource_n() helper. Link: https://lore.kernel.org/r/20250207162301.2842-1-ilpo.jarvinen@linux.intel.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/setup-bus.c')
0 files changed, 0 insertions, 0 deletions