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