[openib-general] IB/iser fix for building with DEBUG_SCSI defined
Or Gerlitz
ogerlitz at voltaire.com
Sun May 28 04:08:10 PDT 2006
fixed compile error when DEBUG_SCSI is defined in include/scsi/libiscsi.h,
use iser_ctask->rdma_data_count instead of ctask->rdma_data_count
Signed-off-by: Or Gerlitz <ogerlitz at voltaire.com>
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c
index 4f724a3..e1d717d 100644
--- a/drivers/infiniband/ulp/iser/iscsi_iser.c
+++ b/drivers/infiniband/ulp/iser/iscsi_iser.c
@@ -148,10 +148,10 @@ iscsi_iser_cmd_init(struct iscsi_cmd_tas
ctask->imm_count -
ctask->unsol_count;
- debug_scsi("cmd [itt %x total %d imm %d imm_data %d "
+ debug_scsi("cmd [itt %x total %d imm %d unsol_data %d "
"rdma_data %d]\n",
ctask->itt, ctask->total_length, ctask->imm_count,
- ctask->unsol_count, ctask->rdma_data_count);
+ ctask->unsol_count, iser_ctask->rdma_data_count);
} else
/* bytes to be sent via RDMA operations */
iser_ctask->rdma_data_count = ctask->total_length;
More information about the general
mailing list