summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Van Assche2017-08-25 22:46:34 +0200
committerMartin K. Petersen2017-08-25 23:08:08 +0200
commited91f7ed38a57df422590b0250ae9ab678197777 (patch)
treeb736d5149be54f7331d760a361d875bc3fa29744
parentscsi: sd: sr: Convert two assignments into warning statements (diff)
downloadkernel-qcow2-linux-ed91f7ed38a57df422590b0250ae9ab678197777.tar.gz
kernel-qcow2-linux-ed91f7ed38a57df422590b0250ae9ab678197777.tar.xz
kernel-qcow2-linux-ed91f7ed38a57df422590b0250ae9ab678197777.zip
scsi: sd: Fix indentation
This patch avoids that smatch reports the following: drivers/scsi/sd.c:3540: sd_suspend_common() warn: inconsistent indenting Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Cc: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/sd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index a88639fbedb3..8b3d7994e182 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -3537,7 +3537,7 @@ static int sd_suspend_common(struct device *dev, bool ignore_stop_errors)
* doesn't support sync. There's not much to do and
* suspend shouldn't fail.
*/
- ret = 0;
+ ret = 0;
}
}