[PATCH v2] [PATCH v2] PCI: Enable io space 1k granularity for intel cpu root port

Zhou Shengqing
2024-06-26T11:20:46Z

Fix compilation error in drivers/pci/probe.c with commit
1f22711375ebe9fc95ced26c7059621c4d59b437

Changelog:
v2:
- Fixed compilation error(missed changed).

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406261735.9Fu2z2ic-lkp@intel.com/

Signed-off-by: Zhou Shengqing <zhoushengqing@ttyinfo.com>
---
drivers/pci/probe.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 3f0c901c6653..909962795311 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -463,6 +463,7 @@ static void pci_read_bridge_windows(struct pci_dev *bridge)
u32 pmem, tmp;
u16 ven_id, dev_id;
u16 en1k = 0;
+ struct pci_dev *dev = NULL;
struct resource res;

pci_read_config_dword(bridge, PCI_PRIMARY_BUS, &buses);

base-commit: 1f22711375ebe9fc95ced26c7059621c4d59b437
--
2.39.2