ib_srpt: Include state in unexpected command state messages

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4815 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2013-03-26 06:59:08 +00:00
parent 02b5a95813
commit 9fe9158574

View File

@@ -1419,10 +1419,10 @@ static void srpt_abort_cmd(struct srpt_send_ioctx *ioctx,
* management commands. Note: the SCST core frees these
* commands immediately after srpt_tsk_mgmt_done() returned.
*/
WARN_ON("ERROR: unexpected command state");
WARN(true, "Unexpected command state %d", state);
break;
default:
WARN_ON("ERROR: unexpected command state");
WARN(true, "Unexpected command state %d", state);
break;
}