Messages in this thread Patch in this message | | | From | Cai Huoqing <> | Subject | [PATCH 2/3] scsi: 3w-xxxx: Fix a function name in comments | Date | Sat, 25 Sep 2021 20:53:22 +0800 |
| |
Use dma_map_single() instead of pci_map_single(), because only dma_map_single() is called here.
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> --- drivers/scsi/3w-xxxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/3w-xxxx.c b/drivers/scsi/3w-xxxx.c index 4ee485ab2714..afe35220ed29 100644 --- a/drivers/scsi/3w-xxxx.c +++ b/drivers/scsi/3w-xxxx.c @@ -156,7 +156,7 @@ same card number. Fix bug where cards were being shut down more than once. 1.02.00.029 - Add missing pci_free_consistent() in tw_allocate_memory(). - Replace pci_map_single() with pci_map_page() for highmem. + Replace dma_map_single() with dma_map_page() for highmem. Check for tw_setfeature() failure. 1.02.00.030 - Make driver 64-bit clean. 1.02.00.031 - Cleanup polling timeouts/routines in several places. -- 2.25.1
| |