diff options
author | Justin Tee <justin.tee@broadcom.com> | 2024-01-31 21:50:58 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-02-06 04:51:34 +0300 |
commit | aa7674bd8da57932766b7aaf73cc7837f74d7852 (patch) | |
tree | f61089782479384cc835580bb6d495c85fbf493a /drivers/scsi/lpfc/lpfc_nportdisc.c | |
parent | 2ae917d4bcab80ab304b774d492e2fcd6c52c06b (diff) | |
download | linux-aa7674bd8da57932766b7aaf73cc7837f74d7852.tar.xz |
scsi: lpfc: Use sg_dma_len() API to get struct scatterlist's length
The sg_dma_len() API should be used to retrieve a scatterlist's length
instead of directly accessing scatterlist->length.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20240131185112.149731-4-justintee8345@gmail.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nportdisc.c')
0 files changed, 0 insertions, 0 deletions