Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2018-10-15 14:59:59 +0200
committerMichal Suchanek <msuchanek@suse.de>2018-10-15 18:33:17 +0200
commite42303710c3db0a639621f12f88916cd23d666f1 (patch)
treeaa788f89e176e3b524b41f01bcf1a604bcbc9629
parentbff757c820ce5d265e7f8c392f1877bdbe234679 (diff)
scsi: ipr: fix incorrect indentation of assignment statement
-rw-r--r--patches.arch/scsi-ipr-fix-incorrect-indentation-of-assignment-sta.patch37
-rw-r--r--series.conf1
2 files changed, 38 insertions, 0 deletions
diff --git a/patches.arch/scsi-ipr-fix-incorrect-indentation-of-assignment-sta.patch b/patches.arch/scsi-ipr-fix-incorrect-indentation-of-assignment-sta.patch
new file mode 100644
index 0000000000..5233148ceb
--- /dev/null
+++ b/patches.arch/scsi-ipr-fix-incorrect-indentation-of-assignment-sta.patch
@@ -0,0 +1,37 @@
+From b82378e682d7128a5d26a4c68fa748e13fdd996a Mon Sep 17 00:00:00 2001
+From: Colin Ian King <colin.king@canonical.com>
+Date: Fri, 1 Dec 2017 13:33:27 +0000
+Subject: [PATCH] scsi: ipr: fix incorrect indentation of assignment statement
+
+References: FATE#326436
+Patch-mainline: v4.16-rc1
+Git-commit: b82378e682d7128a5d26a4c68fa748e13fdd996a
+
+Remove one extraneous level of indentation on an assignment statement.
+
+Signed-off-by: Colin Ian King <colin.king@canonical.com>
+Acked-by: Brian King <brking@linux.vnet.ibm.com>
+Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
+Acked-by: Michal Suchanek <msuchanek@suse.de>
+---
+ 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.13.7
+
diff --git a/series.conf b/series.conf
index 3357a468c2..d06d27f22f 100644
--- a/series.conf
+++ b/series.conf
@@ -11605,6 +11605,7 @@
patches.drivers/lpfc-update-driver-version-to-11.4.0.5.patch
patches.drivers/scsi-mpt3sas-Replace-PCI-pool-old-API.patch
patches.drivers/scsi-mpt3sas-Remove-unused-variable-requeue_event.patch
+ patches.arch/scsi-ipr-fix-incorrect-indentation-of-assignment-sta.patch
patches.fixes/scsi-ibmvscsis-add-DRC-indices-to-debug-statements.patch
patches.drivers/scsi-core-scsi_get_device_flags_keyed-always-return.patch
patches.drivers/scsi-qla2xxx-Fix-system-crash-for-Notify-ack-timeout.patch