mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
ib_srpt: follow-up for r3515.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3516 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -272,7 +272,7 @@ static void srpt_qp_event(struct ib_event *event, struct srpt_rdma_ch *ch)
|
||||
{
|
||||
TRACE_DBG("QP event %d on cm_id=%p sess_name=%s state=%d",
|
||||
event->event, ch->cm_id, ch->sess_name,
|
||||
atomic_read(&ch->state));
|
||||
ch->state);
|
||||
|
||||
switch (event->event) {
|
||||
case IB_EVENT_COMM_EST:
|
||||
@@ -3074,7 +3074,7 @@ static int srpt_rdy_to_xfer(struct scst_cmd *scmnd)
|
||||
|
||||
EXTRACHECKS_WARN_ON(ioctx->ch !=
|
||||
scst_sess_get_tgt_priv(scst_cmd_get_session(scmnd)));
|
||||
EXTRACHECKS_BUG_ON(!ioctx_ch);
|
||||
EXTRACHECKS_BUG_ON(!ioctx->ch);
|
||||
|
||||
return srpt_xfer_data(ioctx->ch, ioctx, scmnd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user