* [PATCH] scsi: hpsa: clean up two indentation issues
@ 2019-01-22 15:18 Colin King
2019-01-28 16:18 ` Don.Brace
2019-01-29 5:42 ` Martin K. Petersen
0 siblings, 2 replies; 3+ messages in thread
From: Colin King @ 2019-01-22 15:18 UTC (permalink / raw)
To: Don Brace, James E . J . Bottomley, Martin K . Petersen,
esc.storagedev, linux-scsi
Cc: kernel-janitors, linux-kernel
From: Colin Ian King <colin.king@canonical.com>
There are two statements that are indented incorrectly. Fix these.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
drivers/scsi/hpsa.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index ff67ef5d5347..5284444fdd10 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -1327,7 +1327,7 @@ static int hpsa_scsi_add_entry(struct ctlr_info *h,
dev_warn(&h->pdev->dev, "physical device with no LUN=0,"
" suspect firmware bug or unsupported hardware "
"configuration.\n");
- return -1;
+ return -1;
}
lun_assigned:
@@ -4110,7 +4110,7 @@ static int hpsa_gather_lun_info(struct ctlr_info *h,
"maximum logical LUNs (%d) exceeded. "
"%d LUNs ignored.\n", HPSA_MAX_LUN,
*nlogicals - HPSA_MAX_LUN);
- *nlogicals = HPSA_MAX_LUN;
+ *nlogicals = HPSA_MAX_LUN;
}
if (*nlogicals + *nphysicals > HPSA_MAX_PHYS_LUN) {
dev_warn(&h->pdev->dev,
--
2.19.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH] scsi: hpsa: clean up two indentation issues
2019-01-22 15:18 [PATCH] scsi: hpsa: clean up two indentation issues Colin King
@ 2019-01-28 16:18 ` Don.Brace
2019-01-29 5:42 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Don.Brace @ 2019-01-28 16:18 UTC (permalink / raw)
To: colin.king, don.brace, jejb, martin.petersen, esc.storagedev, linux-scsi
Cc: kernel-janitors, linux-kernel
-----Original Message-----
From: linux-scsi-owner@vger.kernel.org [mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of Colin King
Sent: Tuesday, January 22, 2019 9:19 AM
To: Don Brace <don.brace@microsemi.com>; James E . J . Bottomley <jejb@linux.ibm.com>; Martin K . Petersen <martin.petersen@oracle.com>; esc.storagedev@microsemi.com; linux-scsi@vger.kernel.org
Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org
Subject: [PATCH] scsi: hpsa: clean up two indentation issues
From: Colin Ian King <colin.king@canonical.com>
There are two statements that are indented incorrectly. Fix these.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
drivers/scsi/hpsa.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index ff67ef5d5347..5284444fdd10 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -1327,7 +1327,7 @@ static int hpsa_scsi_add_entry(struct ctlr_info *h,
dev_warn(&h->pdev->dev, "physical device with no LUN=0,"
" suspect firmware bug or unsupported hardware "
"configuration.\n");
- return -1;
+ return -1;
}
lun_assigned:
@@ -4110,7 +4110,7 @@ static int hpsa_gather_lun_info(struct ctlr_info *h,
"maximum logical LUNs (%d) exceeded. "
"%d LUNs ignored.\n", HPSA_MAX_LUN,
*nlogicals - HPSA_MAX_LUN);
- *nlogicals = HPSA_MAX_LUN;
+ *nlogicals = HPSA_MAX_LUN;
}
if (*nlogicals + *nphysicals > HPSA_MAX_PHYS_LUN) {
dev_warn(&h->pdev->dev,
--
2.19.1
Acked-by: Don Brace <don.brace@microsemi.com>?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] scsi: hpsa: clean up two indentation issues
2019-01-22 15:18 [PATCH] scsi: hpsa: clean up two indentation issues Colin King
2019-01-28 16:18 ` Don.Brace
@ 2019-01-29 5:42 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2019-01-29 5:42 UTC (permalink / raw)
To: Colin King
Cc: Don Brace, James E . J . Bottomley, Martin K . Petersen,
esc.storagedev, linux-scsi, kernel-janitors, linux-kernel
Colin,
> There are two statements that are indented incorrectly. Fix these.
Applied to 5.1/scsi-queue, thanks.
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-01-29 5:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-22 15:18 [PATCH] scsi: hpsa: clean up two indentation issues Colin King
2019-01-28 16:18 ` Don.Brace
2019-01-29 5:42 ` 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).