diff options
author | Tomas Henzl <thenzl@redhat.com> | 2020-09-26 17:00:15 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-10-02 21:28:33 -0400 |
commit | 66ab2fa3721690d4fc912a4845f46faf0a8e2011 (patch) | |
tree | f7e2ca0234aa3503d6d860b3aff7a277efcf1078 /drivers/scsi | |
parent | 7dc71ac8eb0bcaa76d69a3214d62a80b21c73f50 (diff) | |
download | linux-66ab2fa3721690d4fc912a4845f46faf0a8e2011.tar.bz2 |
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')
-rw-r--r-- | drivers/scsi/aacraid/commsup.c | 1 |
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); |