]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: Clean up early_dump_pci_device()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 10 Jun 2025 10:58:19 +0000 (13:58 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 11 Aug 2025 20:00:51 +0000 (15:00 -0500)
commitaa84931ba7f989c263a79a3a962524b5830d0e64
tree7a2b67ac3f63f274ff06fda8e433bfaa53753fad
parent24b2d3c452e5f3facaf9c664aaaa9fc7fa4bc6bb
PCI: Clean up early_dump_pci_device()

Convert 256 to PCI_CFG_SPACE_SIZE and 4 to sizeof(u32) and avoid i / 4
construct by changing the iteration.

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-2-ilpo.jarvinen@linux.intel.com
drivers/pci/probe.c