Skip to content

Commit 85140ba

Browse files
thenzlmartinkpetersen
authored andcommitted
scsi: mpt3sas: Fix an issue when driver is being removed
Warnings may be logged during driver removal: mpt3sas 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT .., Fix this by deallocating DMA memory later. Signed-off-by: Tomas Henzl <thenzl@redhat.com> Link: https://lore.kernel.org/r/20230403184736.6399-1-thenzl@redhat.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 3fc5d6d commit 85140ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/scsi/mpt3sas/mpt3sas_scsih.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12929,10 +12929,10 @@ _mpt3sas_exit(void)
1292912929
pr_info("mpt3sas version %s unloading\n",
1293012930
MPT3SAS_DRIVER_VERSION);
1293112931

12932-
mpt3sas_ctl_exit(hbas_to_enumerate);
12933-
1293412932
pci_unregister_driver(&mpt3sas_driver);
1293512933

12934+
mpt3sas_ctl_exit(hbas_to_enumerate);
12935+
1293612936
scsih_exit();
1293712937
}
1293812938

0 commit comments

Comments
 (0)