summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid
diff options
context:
space:
mode:
authorTomas Henzl <thenzl@redhat.com>2020-09-26 17:00:15 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2020-10-02 21:28:33 -0400
commit66ab2fa3721690d4fc912a4845f46faf0a8e2011 (patch)
treef7e2ca0234aa3503d6d860b3aff7a277efcf1078 /drivers/scsi/aacraid
parent7dc71ac8eb0bcaa76d69a3214d62a80b21c73f50 (diff)
downloadlinux-66ab2fa3721690d4fc912a4845f46faf0a8e2011.tar.gz
linux-66ab2fa3721690d4fc912a4845f46faf0a8e2011.tar.bz2
linux-66ab2fa3721690d4fc912a4845f46faf0a8e2011.zip
scsi: aacraid: Add a missing iounmap call
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>
Diffstat (limited to 'drivers/scsi/aacraid')
-rw-r--r--drivers/scsi/aacraid/commsup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c
index 7c0710417d37..6cc7dabe5e11 100644
--- a/drivers/scsi/aacraid/commsup.c
+++ b/drivers/scsi/aacraid/commsup.c
@@ -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);