ib_srpt: Convert a few more sizeof e expressions into sizeof(e)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5156 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2013-12-18 13:42:24 +00:00
parent b48cfbd8d2
commit d8b2d39062

View File

@@ -1750,7 +1750,7 @@ static u8 srpt_handle_tsk_mgmt(struct srpt_rdma_ch *ch,
ret = scst_rx_mgmt_fn_lun(ch->scst_sess,
SCST_ABORT_TASK_SET,
(u8 *) &srp_tsk->lun,
sizeof srp_tsk->lun,
sizeof(srp_tsk->lun),
SCST_ATOMIC, send_ioctx);
break;
case SRP_TSK_CLEAR_TASK_SET:
@@ -1758,7 +1758,7 @@ static u8 srpt_handle_tsk_mgmt(struct srpt_rdma_ch *ch,
ret = scst_rx_mgmt_fn_lun(ch->scst_sess,
SCST_CLEAR_TASK_SET,
(u8 *) &srp_tsk->lun,
sizeof srp_tsk->lun,
sizeof(srp_tsk->lun),
SCST_ATOMIC, send_ioctx);
break;
case SRP_TSK_LUN_RESET:
@@ -1766,7 +1766,7 @@ static u8 srpt_handle_tsk_mgmt(struct srpt_rdma_ch *ch,
ret = scst_rx_mgmt_fn_lun(ch->scst_sess,
SCST_LUN_RESET,
(u8 *) &srp_tsk->lun,
sizeof srp_tsk->lun,
sizeof(srp_tsk->lun),
SCST_ATOMIC, send_ioctx);
break;
case SRP_TSK_CLEAR_ACA:
@@ -1774,7 +1774,7 @@ static u8 srpt_handle_tsk_mgmt(struct srpt_rdma_ch *ch,
ret = scst_rx_mgmt_fn_lun(ch->scst_sess,
SCST_CLEAR_ACA,
(u8 *) &srp_tsk->lun,
sizeof srp_tsk->lun,
sizeof(srp_tsk->lun),
SCST_ATOMIC, send_ioctx);
break;
default: