diff --git a/qla2x00t/qla2x00-target/qla2x00t.c b/qla2x00t/qla2x00-target/qla2x00t.c index 189ff5ab7..346d6df25 100644 --- a/qla2x00t/qla2x00-target/qla2x00t.c +++ b/qla2x00t/qla2x00-target/qla2x00t.c @@ -4652,7 +4652,7 @@ restart: cmd->sg = scst_cmd_get_sg(&cmd->scst_cmd); cmd->sg_cnt = scst_cmd_get_sg_cnt(&cmd->scst_cmd); - TRACE_MGMT_DBG("SRR cmd %p (scst_cmd %p, tag %d, op %x), " + TRACE_MGMT_DBG("SRR cmd %p (scst_cmd %p, tag %d, op %s), " "sg_cnt=%d, offset=%d", cmd, &cmd->scst_cmd, cmd->tag, scst_get_opcode_name(&cmd->scst_cmd), cmd->sg_cnt, cmd->offset); diff --git a/scst/src/Makefile b/scst/src/Makefile index 07b179724..32575c7ef 100644 --- a/scst/src/Makefile +++ b/scst/src/Makefile @@ -116,7 +116,7 @@ endif @echo "*!! target drivers, custom dev handlers and necessary user !!*" @echo "*!! space applications. Otherwise, because of the versions !!*" @echo "*!! mismatch, you could have many problems and crashes. !!*" - @echo "*!! See IMPORTANT note in the \"Installation\" section of !!*" + @echo "*!! See IMPORTANT note in the \"Installation\" section of !!*" @echo "*!! SCST's README file for more info. !!*" @echo "*!! !!*" @echo "*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*" diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index 45c47bc40..a1faae4de 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -3883,7 +3883,7 @@ static int scst_pre_xmit_response1(struct scst_cmd *cmd) #ifdef CONFIG_SCST_DEBUG_TM if (cmd->tm_dbg_delayed && - !test_bit(SCST_CMD_ABORTED, &cmd->cmd_flags)) { + !test_bit(SCST_CMD_ABORTED, &cmd->cmd_flags)) { if (scst_cmd_atomic(cmd)) { TRACE_MGMT_DBG("%s", "DEBUG_TM delayed cmd needs a thread"); @@ -6035,7 +6035,7 @@ static void scst_do_nexus_loss_sess(struct scst_mgmt_cmd *mcmd) /* Returns 0 if the command processing should be continued, <0 otherwise */ static int scst_abort_all_nexus_loss_sess(struct scst_mgmt_cmd *mcmd, - int nexus_loss) + int nexus_loss_unreg_sess) { int res; int i; @@ -6044,8 +6044,8 @@ static int scst_abort_all_nexus_loss_sess(struct scst_mgmt_cmd *mcmd, TRACE_ENTRY(); - if (nexus_loss) { - TRACE_MGMT_DBG("Nexus loss for sess %p (mcmd %p)", + if (nexus_loss_unreg_sess) { + TRACE_MGMT_DBG("Nexus loss or UNREG SESS for sess %p (mcmd %p)", sess, mcmd); } else { TRACE_MGMT_DBG("Aborting all from sess %p (mcmd %p)",