PCI: Fix minimum allocation address overwrite
commit 3460baa6 upstream. Commit 36e097a8 ("PCI: Split out bridge window override of minimum allocation address") claimed to do no functional changes but unfortunately did: The "min" variable is altered. At least the AVM A1 PCMCIA adapter was no longer detected, breaking ISDN operation. Use a local copy of "min" to restore the previous behaviour. [bhelgaas: avoid gcc "?:" extension for portability and readability] Fixes: 36e097a8 ("PCI: Split out bridge window override of minimum allocation address") Signed-off-by:Christoph Biedl <linux-kernel.bfrz@manchmal.in-ulm.de> Signed-off-by:
Bjorn Helgaas <bhelgaas@google.com> Signed-off-by:
Luis Henriques <luis.henriques@canonical.com>
Showing
Please register or sign in to comment