projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bc6b63
)
scsi_debug: fix missing "break;" in SDEBUG_UA_CAPACITY_CHANGED case
author
Ewan D. Milne
<emilne@redhat.com>
Thu, 4 Dec 2014 16:49:25 +0000
(11:49 -0500)
committer
Christoph Hellwig
<hch@lst.de>
Mon, 15 Dec 2014 12:34:27 +0000
(13:34 +0100)
This eliminates a superfluous log message when the capacity is changed:
"check_readiness: unexpected unit attention code=3"
Signed-off-by: Ewan D. Milne <emilne@redhat.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/scsi_debug.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/scsi_debug.c
b/drivers/scsi/scsi_debug.c
index 0d0e0593e3c517b3c42ee41cebd8d7726dc4579f..7b8b51bc29b4353debc9bd9911fcbf939753c782 100644
(file)
--- a/
drivers/scsi/scsi_debug.c
+++ b/
drivers/scsi/scsi_debug.c
@@
-816,6
+816,7
@@
static int check_readiness(struct scsi_cmnd *SCpnt, int uas_only,
UA_CHANGED_ASC, CAPACITY_CHANGED_ASCQ);
if (debug)
cp = "capacity data changed";
+ break;
default:
pr_warn("%s: unexpected unit attention code=%d\n",
__func__, k);