PCI: ibmphp: Fix double unmap of io_mem
authorVishal Aslot <os.vaslot@gmail.com>
Wed, 18 Aug 2021 16:57:51 +0000 (11:57 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 2 Sep 2021 17:02:50 +0000 (12:02 -0500)
commitfaa2e05ad0dccf37f995bcfbb8d1980d66c02c11
treebaeb98790707575a74a1b13f9eb761504174827b
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
PCI: ibmphp: Fix double unmap of io_mem

ebda_rsrc_controller() calls iounmap(io_mem) on the error path. Its caller,
ibmphp_access_ebda(), also calls iounmap(io_mem) on good and error paths.

Remove the iounmap(io_mem) invocation from ebda_rsrc_controller().

[bhelgaas: remove item from TODO]
Link: https://lore.kernel.org/r/20210818165751.591185-1-os.vaslot@gmail.com
Signed-off-by: Vishal Aslot <os.vaslot@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/TODO
drivers/pci/hotplug/ibmphp_ebda.c