Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51a46250 authored by Jayamohan Kallickal's avatar Jayamohan Kallickal Committed by James Bottomley
Browse files

[SCSI] be2iscsi: No requirement for endianess change for data_count



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

Signed-off-by: default avatarJayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent 0ecb0b45
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3607,7 +3607,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));