Fixed two WARN_ON() statements.
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Fri, 19 Feb 2010 12:03:48 +0000 (12:03 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Fri, 19 Feb 2010 12:03:48 +0000 (12:03 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1512 d57e44dd-8a1f-0410-8b47-8ef2f437770f

srpt/src/ib_srpt.c

index 39d9523..ec0320f 100644 (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);