From 2d4d49f3043d8a892a6152e380f9e42532d9a37a Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 19 Feb 2010 12:03:48 +0000 Subject: [PATCH] Fixed two WARN_ON() statements. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1512 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 39d9523f9..ec0320f64 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -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);