mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
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>
This commit is contained in:
parent
7dc71ac8eb
commit
66ab2fa372
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user