From: Rob Evers <revers@redhat.com>
To: linux-scsi@vger.kernel.org
Subject: [PATCH 2/2] scsi_io_completion: remove confusing unhandled messages
Date: Fri, 12 Aug 2011 17:01:17 -0400 [thread overview]
Message-ID: <1313182877-31377-2-git-send-email-revers@redhat.com> (raw)
In-Reply-To: <1313182877-31377-1-git-send-email-revers@redhat.com>
remove message when host_byte case is not specifically handled.
remove message when sense_key case is not specifically handled.
Signed-off-by: Rob Evers <revers@redhat.com>
---
drivers/scsi/scsi_lib.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index fc3f168..e6a359c 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -920,12 +920,10 @@ void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes)
action = ACTION_FAIL;
break;
default:
- description = "Unhandled sense code";
action = ACTION_FAIL;
break;
}
} else {
- description = "Unhandled error code";
action = ACTION_FAIL;
}
--
1.7.1
next prev parent reply other threads:[~2011-08-12 21:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-12 21:01 [PATCH 1/2] alua: clarify messages when blk_execute_rq fails Rob Evers
2011-08-12 21:01 ` Rob Evers [this message]
2011-08-30 20:07 ` Rob Evers
2011-08-30 21:37 ` James Bottomley
2011-08-31 1:12 ` Rob Evers
2011-09-02 20:21 ` Rob Evers
2011-10-06 22:07 ` Rob Evers
2011-10-07 6:12 ` Hannes Reinecke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1313182877-31377-2-git-send-email-revers@redhat.com \
--to=revers@redhat.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).