Skip to contentSkip to conversation

be2iscsi: No requirement for endianess change for data_count

PATCH In review Jayamohan Kallickal 1 participant 1 message Dec 4, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 8/15 be2iscsi: No requirement for endianess change for data_count

This patch removes the endianess change that was wrongly
added for data_count

---
 drivers/scsi/be2iscsi/be_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/be2iscsi/be_main.c +1 -1
index be9a948..30ece62 100644
@@ -3606,7 +3606,7 @@ static int beiscsi_mtask(struct iscsi_task *task)
 	}
 
 	AMAP_SET_BITS(struct amap_iscsi_wrb, r2t_exp_dtl, pwrb,
-		      be32_to_cpu(task->data_count));
+		      task->data_count);
 	AMAP_SET_BITS(struct amap_iscsi_wrb, ptr2nextwrb, pwrb,
 		      io_task->pwrb_handle->nxt_wrb_index);
 	be_dws_le_to_cpu(pwrb, sizeof(struct iscsi_wrb));
Signature · 1 line
1.6.4