diff mbox series

[2/3] scsi: 3w-xxxx: Fix a function name in comments

Message ID 20210925125324.1760-2-caihuoqing@baidu.com (mailing list archive)
State Rejected
Headers show
Series [1/3] scsi: qla1280: Fix a function name in comments | expand

Commit Message

Cai,Huoqing Sept. 25, 2021, 12:53 p.m. UTC
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(-)

Comments

Martin K. Petersen Sept. 29, 2021, 3:13 a.m. UTC | #1
Cai,

> Use dma_map_single() instead of pci_map_single(),
> because only dma_map_single() is called here.

Same comment as the previous patch.
diff mbox series

Patch

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.