All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: ipr: fix incorrect indentation of assignment statement
@ 2017-12-01 13:33 ` Colin King
  0 siblings, 0 replies; 6+ 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] 6+ messages in thread

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

Thread overview: 6+ 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 13:33 ` Colin King
2017-12-01 16:30 ` Brian King
2017-12-01 16:30   ` Brian King
2017-12-05  3:30 ` Martin K. Petersen
2017-12-05  3:30   ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.