mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
Cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5501 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 "*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*"
|
||||
|
||||
@@ -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)",
|
||||
|
||||
Reference in New Issue
Block a user