Skip to contentSkip to conversation

aacraid: add a missing iounmap call

PATCH Applied Tomas Henzl 2 participants 3 messages Sep 26, 2020 – Oct 7, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 aacraid: add a missing iounmap call

Add a missing resource cleanup in _aac_reset_adapter

---
 drivers/scsi/aacraid/commsup.c | 1 +
 1 file changed, 1 insertion(+)
drivers/scsi/aacraid/commsup.c +1 -0
index 7c0710417d37..6cc7dabe5e11 100644
@@ -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);
Signature · 1 line
2.25.4
#1 lore raw

Tomas,

Quoted 1 line

Add a missing resource cleanup in _aac_reset_adapter

Applied to 5.10/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering