projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea4044e
)
scsi: lpfc: Remove unnecessary log message in queuecommand path
author
Justin Tee
<justin.tee@broadcom.com>
Tue, 5 Mar 2024 20:04:52 +0000
(12:04 -0800)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Sun, 10 Mar 2024 22:56:43 +0000
(18:56 -0400)
Message 9038 logs when LLDD receives SCSI_PROT_NORMAL when T10 DIF
protection is configured. The event is not wrong, but the log message has
not proven useful in debugging so it is removed.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link:
https://lore.kernel.org/r/20240305200503.57317-2-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_scsi.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_scsi.c
b/drivers/scsi/lpfc/lpfc_scsi.c
index 81fb766c7746e6d348d86ab54aaba2f333198f11..e7bfaa0eb8110a955a889407442213ffbe2ab86d 100644
(file)
--- a/
drivers/scsi/lpfc/lpfc_scsi.c
+++ b/
drivers/scsi/lpfc/lpfc_scsi.c
@@
-5336,16
+5336,6
@@
lpfc_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *cmnd)
}
err = lpfc_bg_scsi_prep_dma_buf(phba, lpfc_cmd);
} else {
- if (vport->phba->cfg_enable_bg) {
- lpfc_printf_vlog(vport,
- KERN_INFO, LOG_SCSI_CMD,
- "9038 BLKGRD: rcvd PROT_NORMAL cmd: "
- "x%x reftag x%x cnt %u pt %x\n",
- cmnd->cmnd[0],
- scsi_prot_ref_tag(cmnd),
- scsi_logical_block_count(cmnd),
- (cmnd->cmnd[1]>>5));
- }
err = lpfc_scsi_prep_dma_buf(phba, lpfc_cmd);
}