linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: core: fix two wrong indentation cases
@ 2018-02-26  7:59 Jianchao Wang
  2018-02-27 17:05 ` Bart Van Assche
  2018-02-28  2:58 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: Jianchao Wang @ 2018-02-26  7:59 UTC (permalink / raw)
  To: jejb, martin.petersen; +Cc: linux-scsi, linux-kernel

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>
---
 drivers/scsi/scsi.c       | 2 +-
 drivers/scsi/scsi_error.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
index a7e4fba..4c60c26 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)
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index d042915..96066d1 100644
--- a/drivers/scsi/scsi_error.c
+++ b/drivers/scsi/scsi_error.c
@@ -1888,7 +1888,7 @@ int scsi_decide_disposition(struct scsi_cmnd *scmd)
 	}
 	return FAILED;
 
-      maybe_retry:
+maybe_retry:
 
 	/* we requeue for retry because the error was retryable, and
 	 * the request was not marked fast fail.  Note that above,
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] scsi: core: fix two wrong indentation cases
  2018-02-26  7:59 [PATCH] scsi: core: fix two wrong indentation cases Jianchao Wang
@ 2018-02-27 17:05 ` Bart Van Assche
  2018-02-28  2:58 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Bart Van Assche @ 2018-02-27 17:05 UTC (permalink / raw)
  To: jejb, martin.petersen, jianchao.w.wang; +Cc: linux-scsi, linux-kernel

On Mon, 2018-02-26 at 15:59 +0800, Jianchao Wang wrote:
> No functional changes. Just fix two wrong indentation cases in
> scsi_finish_command and scsi_decide_disposition.

Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] scsi: core: fix two wrong indentation cases
  2018-02-26  7:59 [PATCH] scsi: core: fix two wrong indentation cases Jianchao Wang
  2018-02-27 17:05 ` Bart Van Assche
@ 2018-02-28  2:58 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2018-02-28  2:58 UTC (permalink / raw)
  To: Jianchao Wang; +Cc: jejb, martin.petersen, linux-scsi, linux-kernel


Jianchao,

> No functional changes. Just fix two wrong indentation cases in
> scsi_finish_command and scsi_decide_disposition.

Applied to 4.17/scsi-queue, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-28  2:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-26  7:59 [PATCH] scsi: core: fix two wrong indentation cases Jianchao Wang
2018-02-27 17:05 ` Bart Van Assche
2018-02-28  2:58 ` Martin K. Petersen

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).