Fixed two WARN_ON() statements.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1512 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-02-19 12:03:48 +00:00
parent 4d96089e50
commit 2d4d49f304

View File

@@ -1096,11 +1096,11 @@ static void srpt_abort_scst_cmd(struct srpt_ioctx *ioctx,
scst_set_delivery_status(scmnd, SCST_CMD_DELIVERY_ABORTED);
break;
case SRPT_STATE_MGMT_RSP_SENT:
WARN_ON(!"ERROR: srpt_abort_scst_cmd() has been called for"
WARN_ON("ERROR: srpt_abort_scst_cmd() has been called for"
" a management command.");
break;
default:
WARN_ON(!"ERROR: unexpected command state");
WARN_ON("ERROR: unexpected command state");
break;
}
scst_tgt_cmd_done(scmnd, context);