2021-09-02 22:38:02

by Colin King

[permalink] [raw]
Subject: [PATCH] scsi: megaraid: clean up some inconsistent indenting

From: Colin Ian King <[email protected]>

There are a few statements where the indentation is not correct,
clean these up.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/scsi/megaraid/megaraid_sas_base.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index e4298bf4a482..880b51a6f7dd 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -1916,7 +1916,7 @@ void megasas_set_dynamic_target_properties(struct scsi_device *sdev,
raid = MR_LdRaidGet(ld, local_map_ptr);

if (raid->capability.ldPiMode == MR_PROT_INFO_TYPE_CONTROLLER)
- blk_queue_update_dma_alignment(sdev->request_queue, 0x7);
+ blk_queue_update_dma_alignment(sdev->request_queue, 0x7);

mr_device_priv_data->is_tm_capable =
raid->capability.tmCapable;
@@ -8033,7 +8033,7 @@ static void megasas_detach_one(struct pci_dev *pdev)

if (instance->adapter_type != MFI_SERIES) {
megasas_release_fusion(instance);
- pd_seq_map_sz = sizeof(struct MR_PD_CFG_SEQ_NUM_SYNC) +
+ pd_seq_map_sz = sizeof(struct MR_PD_CFG_SEQ_NUM_SYNC) +
(sizeof(struct MR_PD_CFG_SEQ) *
(MAX_PHYSICAL_DEVICES - 1));
for (i = 0; i < 2 ; i++) {
--
2.32.0


2021-09-14 03:45:41

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] scsi: megaraid: clean up some inconsistent indenting

On Thu, 2 Sep 2021 23:36:43 +0100, Colin King wrote:

> From: Colin Ian King <[email protected]>
>
> There are a few statements where the indentation is not correct,
> clean these up.
>
>

Applied to 5.15/scsi-fixes, thanks!

[1/1] scsi: megaraid: clean up some inconsistent indenting
https://git.kernel.org/mkp/scsi/c/655a68b2203e

--
Martin K. Petersen Oracle Linux Engineering