scsi: aacraid: Add a missing iounmap call
authorTomas Henzl <thenzl@redhat.com>
Sat, 26 Sep 2020 15:00:15 +0000 (17:00 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 3 Oct 2020 01:28:33 +0000 (21:28 -0400)
Add a missing resource cleanup in _aac_reset_adapter.

Link: https://lore.kernel.org/r/20200926150015.6187-1-thenzl@redhat.com
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/commsup.c

index 7c0710417d37d153d62c7002276b80da598f926b..6cc7dabe5e115ae8d05cd9d57f08c7ec328a0b34 100644 (file)
@@ -1551,6 +1551,7 @@ static int _aac_reset_adapter(struct aac_dev *aac, int forced, u8 reset_type)
        aac_fib_map_free(aac);
        dma_free_coherent(&aac->pdev->dev, aac->comm_size, aac->comm_addr,
                          aac->comm_phys);
+       aac_adapter_ioremap(aac, 0);
        aac->comm_addr = NULL;
        aac->comm_phys = 0;
        kfree(aac->queues);