On Wed, Jun 26, 2024 at 11:19:47AM +0000, Zhou Shengqing wrote: > Fix compilation error in drivers/pci/probe.c with commit > 1f22711375ebe9fc95ced26c7059621c4d59b437 > > Changelog: > v2: > - Fixed compilation error(missed changed). Please post a v3 that is the entire patch including the fix. Nothing has been merged yet, so there's no point in making it a separate commit. > Reported-by: kernel test robot <lkp@xxxxxxxxx> > Closes: https://lore.kernel.org/oe-kbuild-all/202406261735.9Fu2z2ic-lkp@xxxxxxxxx/ > > Signed-off-by: Zhou Shengqing <zhoushengqing@xxxxxxxxxxx> > --- > 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 >