From: Ewan D. Milne Date: Thu, 4 Dec 2014 16:49:25 +0000 (-0500) Subject: scsi_debug: fix missing "break;" in SDEBUG_UA_CAPACITY_CHANGED case X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f49accf1eb398102d722a89fdbb76ad17c5c5220;p=linux-beck.git scsi_debug: fix missing "break;" in SDEBUG_UA_CAPACITY_CHANGED case This eliminates a superfluous log message when the capacity is changed: "check_readiness: unexpected unit attention code=3" Signed-off-by: Ewan D. Milne Acked-by: Douglas Gilbert Signed-off-by: Christoph Hellwig --- diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c index 0d0e0593e3c5..7b8b51bc29b4 100644 --- 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);