scsi: cxgb4i: clean up a debug printk
Subsystems (2)
PATCH 1/1 scsi: cxgb4i: clean up a debug printk
The pr_fmt() at the top of the file already includes the __func__ so we can remove the duplicative "cxgbi_conn_init_pdu:" from the string here. Now it all fits on one line as well.
--- drivers/scsi/cxgbi/libcxgbi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/scsi/cxgbi/libcxgbi.c +1 -2
@@ -2182,8 +2182,7 @@ int cxgbi_conn_init_pdu(struct iscsi_task *task, unsigned int offset, }log_debug (1 <<CXGBI_DBG_ISCSI |1 <<CXGBI_DBG_PDU_TX , -"cxgbi_conn_init_pdu: tdata->total_count %u, " -"tdata->total_offset %u\n" , +"data->total_count %u, tdata->total_offset %u\n" , tdata->total_count, tdata->total_offset); expected_count = tdata->total_count;
Signature · 1 line
2.27.0
Quoted 14 lines · Dan Carpenter
The
pr_fmt()at the top of the file already includes the__func__so we can remove the duplicative "cxgbi_conn_init_pdu:" from the string here. Now it all fits on one line as well.Signed-off-by Dan Carpenter <[email protected]>--- drivers/scsi/cxgbi/libcxgbi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/scsi/cxgbi/libcxgbi.c +0
-0
drivers/scsi/cxgbi/libcxgbi.c int cxgbi_conn_init_pdu(struct iscsi_task *task, unsigned int offset, · line 2188
Quoted 9 lines
drivers/scsi/cxgbi/libcxgbi.c +1
-2@@ -2182,8 +2182,7 @@ int cxgbi_conn_init_pdu(struct iscsi_task *task, unsigned int offset, }log_debug (1 <<CXGBI_DBG_ISCSI |1 <<CXGBI_DBG_PDU_TX , -"cxgbi_conn_init_pdu: tdata->total_count %u, " -"tdata->total_offset %u\n" , +"data->total_count %u, tdata->total_offset %u\n" , tdata->total_count, tdata->total_offset); expected_count = tdata->total_count;
Martin K. Petersen
AppliedQuoted 3 lines · Dan Carpenter
The
pr_fmt()at the top of the file already includes the__func__so we can remove the duplicative "cxgbi_conn_init_pdu:" from the string here. Now it all fits on one line as well.
Applied to 5.9/scsi-queue, thanks!
[1/1] scsi: cxgb4i: Clean up a debug printk
https://git.kernel.org/mkp/scsi/c/30f259b4886a
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering