mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user