diff mbox series

aacraid: add a missing iounmap call

Message ID 20200926150015.6187-1-thenzl@redhat.com (mailing list archive)
State Accepted
Headers show
Series aacraid: add a missing iounmap call | expand

Commit Message

Tomas Henzl Sept. 26, 2020, 3 p.m. UTC
Add a missing resource cleanup in _aac_reset_adapter

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
---
 drivers/scsi/aacraid/commsup.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Martin K. Petersen Oct. 3, 2020, 1:28 a.m. UTC | #1
Tomas,

> Add a missing resource cleanup in _aac_reset_adapter

Applied to 5.10/scsi-staging, thanks!
Martin K. Petersen Oct. 7, 2020, 3:48 a.m. UTC | #2
On Sat, 26 Sep 2020 17:00:15 +0200, Tomas Henzl wrote:

> Add a missing resource cleanup in _aac_reset_adapter

Applied to 5.10/scsi-queue, thanks!

[1/1] scsi: aacraid: Add a missing iounmap call
      https://git.kernel.org/mkp/scsi/c/66ab2fa37216
diff mbox series

Patch

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);