mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 07:34:12 +08:00
scsi: lpfc: Fix a function name in comments
Use dma_map_sg() instead of pci_map_sg() in comments. Link: https://lore.kernel.org/r/20210925125324.1760-3-caihuoqing@baidu.com Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
568778f557
commit
8d807a0680
@ -894,7 +894,7 @@ lpfc_scsi_prep_dma_buf_s3(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd)
|
|||||||
bpl += 2;
|
bpl += 2;
|
||||||
if (scsi_sg_count(scsi_cmnd)) {
|
if (scsi_sg_count(scsi_cmnd)) {
|
||||||
/*
|
/*
|
||||||
* The driver stores the segment count returned from pci_map_sg
|
* The driver stores the segment count returned from dma_map_sg
|
||||||
* because this a count of dma-mappings used to map the use_sg
|
* because this a count of dma-mappings used to map the use_sg
|
||||||
* pages. They are not guaranteed to be the same for those
|
* pages. They are not guaranteed to be the same for those
|
||||||
* architectures that implement an IOMMU.
|
* architectures that implement an IOMMU.
|
||||||
@ -2590,7 +2590,7 @@ lpfc_bg_scsi_prep_dma_buf_s3(struct lpfc_hba *phba,
|
|||||||
bpl += 2;
|
bpl += 2;
|
||||||
if (scsi_sg_count(scsi_cmnd)) {
|
if (scsi_sg_count(scsi_cmnd)) {
|
||||||
/*
|
/*
|
||||||
* The driver stores the segment count returned from pci_map_sg
|
* The driver stores the segment count returned from dma_map_sg
|
||||||
* because this a count of dma-mappings used to map the use_sg
|
* because this a count of dma-mappings used to map the use_sg
|
||||||
* pages. They are not guaranteed to be the same for those
|
* pages. They are not guaranteed to be the same for those
|
||||||
* architectures that implement an IOMMU.
|
* architectures that implement an IOMMU.
|
||||||
@ -3250,7 +3250,7 @@ lpfc_scsi_prep_dma_buf_s4(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd)
|
|||||||
*/
|
*/
|
||||||
if (scsi_sg_count(scsi_cmnd)) {
|
if (scsi_sg_count(scsi_cmnd)) {
|
||||||
/*
|
/*
|
||||||
* The driver stores the segment count returned from pci_map_sg
|
* The driver stores the segment count returned from dma_map_sg
|
||||||
* because this a count of dma-mappings used to map the use_sg
|
* because this a count of dma-mappings used to map the use_sg
|
||||||
* pages. They are not guaranteed to be the same for those
|
* pages. They are not guaranteed to be the same for those
|
||||||
* architectures that implement an IOMMU.
|
* architectures that implement an IOMMU.
|
||||||
@ -3489,7 +3489,7 @@ lpfc_bg_scsi_prep_dma_buf_s4(struct lpfc_hba *phba,
|
|||||||
*/
|
*/
|
||||||
if (scsi_sg_count(scsi_cmnd)) {
|
if (scsi_sg_count(scsi_cmnd)) {
|
||||||
/*
|
/*
|
||||||
* The driver stores the segment count returned from pci_map_sg
|
* The driver stores the segment count returned from dma_map_sg
|
||||||
* because this a count of dma-mappings used to map the use_sg
|
* because this a count of dma-mappings used to map the use_sg
|
||||||
* pages. They are not guaranteed to be the same for those
|
* pages. They are not guaranteed to be the same for those
|
||||||
* architectures that implement an IOMMU.
|
* architectures that implement an IOMMU.
|
||||||
|
Loading…
Reference in New Issue
Block a user