Justin Tee aa7674bd8d 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>
2024-02-05 20:51:34 -05:00
..
2024-01-11 14:24:32 -08:00
2023-10-13 14:15:54 -04:00
2023-04-27 11:53:57 -07:00
2023-10-13 16:36:20 -04:00
2023-05-31 19:59:26 -04:00
2023-05-26 13:52:19 -07:00
2023-04-18 23:01:23 -04:00
2022-06-27 22:56:21 -04:00
2024-01-20 09:42:32 -08:00
2023-10-13 16:36:20 -04:00
2023-11-02 15:13:50 -10:00
2022-05-08 14:28:18 -04:00
2024-01-11 13:58:04 -08:00
2023-04-27 11:53:57 -07:00
2023-10-13 16:36:20 -04:00
2023-05-31 11:36:40 -04:00