On Fri, Mar 4, 2016 at 4:05 AM, Douglas Miller <dougm...@linux.vnet.ibm.com> wrote: > The adapter->pcicfg resource is either mapped via pci_iomap() or > derived from adapter->db. During be_remove() this resource was ignored > and so could remain mapped after remove. > > Add a flag to track whether adapter->pcicfg was mapped or not, then > use that flag in be_unmap_pci_bars() to unmap if required. > > Signed-off-by: Douglas Miller <dougm...@linux.vnet.ibm.com>
Acked-by: Sathya Perla <sathya.pe...@broadcom.com> Could you pls add the "fixes" tag line to this patch: Fixes: 25848c901 ("use PCI MMIO read instead of config read for errors") thanks for the fix, -Sathya