linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: ipr: fix incorrect indentation of assignment statement
@ 2017-12-01 13:33 Colin King
  2017-12-01 16:30 ` Brian King
  2017-12-05  3:30 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: Colin King @ 2017-12-01 13:33 UTC (permalink / raw)
  To: Brian King, James E . J . Bottomley, Martin K . Petersen, linux-scsi
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

Remove one extraneous level of indentation on an assignment statement.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/scsi/ipr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index cc0187965eee..e07dd990e585 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -9653,8 +9653,8 @@ static int ipr_alloc_cmd_blks(struct ipr_ioa_cfg *ioa_cfg)
 			if (i == 0) {
 				entries_each_hrrq = IPR_NUM_INTERNAL_CMD_BLKS;
 				ioa_cfg->hrrq[i].min_cmd_id = 0;
-					ioa_cfg->hrrq[i].max_cmd_id =
-						(entries_each_hrrq - 1);
+				ioa_cfg->hrrq[i].max_cmd_id =
+					(entries_each_hrrq - 1);
 			} else {
 				entries_each_hrrq =
 					IPR_NUM_BASE_CMD_BLKS/
-- 
2.14.1

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

* Re: [PATCH] scsi: ipr: fix incorrect indentation of assignment statement
  2017-12-01 13:33 [PATCH] scsi: ipr: fix incorrect indentation of assignment statement Colin King
@ 2017-12-01 16:30 ` Brian King
  2017-12-05  3:30 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Brian King @ 2017-12-01 16:30 UTC (permalink / raw)
  To: Colin King, Brian King, James E . J . Bottomley,
	Martin K . Petersen, linux-scsi
  Cc: kernel-janitors, linux-kernel

On 12/01/2017 07:33 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Remove one extraneous level of indentation on an assignment statement.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/scsi/ipr.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
> index cc0187965eee..e07dd990e585 100644
> --- a/drivers/scsi/ipr.c
> +++ b/drivers/scsi/ipr.c
> @@ -9653,8 +9653,8 @@ static int ipr_alloc_cmd_blks(struct ipr_ioa_cfg *ioa_cfg)
>  			if (i == 0) {
>  				entries_each_hrrq = IPR_NUM_INTERNAL_CMD_BLKS;
>  				ioa_cfg->hrrq[i].min_cmd_id = 0;
> -					ioa_cfg->hrrq[i].max_cmd_id =
> -						(entries_each_hrrq - 1);
> +				ioa_cfg->hrrq[i].max_cmd_id =
> +					(entries_each_hrrq - 1);
>  			} else {
>  				entries_each_hrrq =
>  					IPR_NUM_BASE_CMD_BLKS/
> 

Acked-by: Brian King <brking@linux.vnet.ibm.com>

-- 
Brian King
Power Linux I/O
IBM Linux Technology Center

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

* Re: [PATCH] scsi: ipr: fix incorrect indentation of assignment statement
  2017-12-01 13:33 [PATCH] scsi: ipr: fix incorrect indentation of assignment statement Colin King
  2017-12-01 16:30 ` Brian King
@ 2017-12-05  3:30 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2017-12-05  3:30 UTC (permalink / raw)
  To: Colin King
  Cc: Brian King, James E . J . Bottomley, Martin K . Petersen,
	linux-scsi, kernel-janitors, linux-kernel


Colin,

> Remove one extraneous level of indentation on an assignment statement.

Applied to 4.16/scsi-queue, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

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

end of thread, other threads:[~2017-12-05  3:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-01 13:33 [PATCH] scsi: ipr: fix incorrect indentation of assignment statement Colin King
2017-12-01 16:30 ` Brian King
2017-12-05  3:30 ` 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).