scsi: lpfc: Simplify fcp_abort transport callback log message
authorJustin Tee <justin.tee@broadcom.com>
Wed, 12 Jul 2023 18:05:12 +0000 (11:05 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 23 Jul 2023 20:17:07 +0000 (16:17 -0400)
commit1a5cd3d073ee3f27a83846deb956f023898830fa
treefdc8257935e604cce12c7593d49d10414949c6d3
parent4cf7cfa8bae11fec28785a2fec9223d0ffb25cf2
scsi: lpfc: Simplify fcp_abort transport callback log message

The driver is reaching into a nvme_fc_cmd_iu ptr that belongs to the
transport during an abort.  This could cause an unintentional ptr
dereference into memory that the driver does not own.  Since the
nvme_fc_cmd_iu ptr was for logging purposes only, simplify the log message
such that the nvme_fc_cmd_iu reference is no longer needed.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20230712180522.112722-3-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvme.c