diff options
author | 2023-04-17 12:15:52 -0700 | |
---|---|---|
committer | 2023-05-08 07:16:04 -0400 | |
commit | 84c868a702f520a75af8a6f0bf8084135e09c510 (patch) | |
tree | 9c7bab0494661cd12c5affb77f69817ca8a6ca94 /include/linux/blk_types.h | |
parent | Linux 6.4-rc1 (diff) | |
download | wireguard-linux-84c868a702f520a75af8a6f0bf8084135e09c510.tar.xz wireguard-linux-84c868a702f520a75af8a6f0bf8084135e09c510.zip |
scsi: lpfc: Fix verbose logging for SCSI commands issued to SES devices
For SES LUNs with scsi_device sector_size member set to zero, there is no
point to log an LBA. When verbose FCP driver logging is enabled, sanity
check sector_size before calling scsi_get_lba() on a scsi_cmnd.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20230417191558.83100-2-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux/blk_types.h')
0 files changed, 0 insertions, 0 deletions