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