summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi.c
diff options
context:
space:
mode:
authorJianchao Wang <jianchao.w.wang@oracle.com>2018-02-26 08:59:16 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-02-28 04:26:12 +0100
commit8ef7fe4b2bee7ba88dd24d781f82e98b0b461bbc (patch)
tree69f19a7dde8bdaebb1fac07a667ef8c9e89723cd /drivers/scsi/scsi.c
parentscsi: qedi: fix build regression (diff)
downloadlinux-8ef7fe4b2bee7ba88dd24d781f82e98b0b461bbc.tar.xz
linux-8ef7fe4b2bee7ba88dd24d781f82e98b0b461bbc.zip
scsi: core: fix two wrong indentation cases
No functional changes. Just fix two wrong indentation cases in scsi_finish_command and scsi_decide_disposition. Signed-off-by: Jianchao Wang <jianchao.w.wang@oracle.com> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi.c')
-rw-r--r--drivers/scsi/scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
index a7e4fba724b7..4c60c260c5da 100644
--- a/drivers/scsi/scsi.c
+++ b/drivers/scsi/scsi.c
@@ -231,7 +231,7 @@ void scsi_finish_command(struct scsi_cmnd *cmd)
"(result %x)\n", cmd->result));
good_bytes = scsi_bufflen(cmd);
- if (!blk_rq_is_passthrough(cmd->request)) {
+ if (!blk_rq_is_passthrough(cmd->request)) {
int old_good_bytes = good_bytes;
drv = scsi_cmd_to_driver(cmd);
if (drv->done)