diff mbox series

[6/8] scsi: pm80xx: reduce indentation

Message ID 1546185195-25676-7-git-send-email-Julia.Lawall@lip6.fr (mailing list archive)
State Accepted
Headers show
Series reduce indentation | expand

Commit Message

Julia Lawall Dec. 30, 2018, 3:53 p.m. UTC
Delete tab aligning a statement with the right hand side of a
preceding assignment rather than the left hand side.

Found with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>

---
 drivers/scsi/pm8001/pm8001_sas.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jinpu Wang Jan. 2, 2019, 7:27 a.m. UTC | #1
On Sun, Dec 30, 2018 at 5:29 PM Julia Lawall <Julia.Lawall@lip6.fr> wrote:
>
> Delete tab aligning a statement with the right hand side of a
> preceding assignment rather than the left hand side.
>
> Found with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Thanks, Julia.
Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com>
>
> ---
>  drivers/scsi/pm8001/pm8001_sas.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/pm8001/pm8001_sas.c b/drivers/scsi/pm8001/pm8001_sas.c
> index b3be49d41375..44b630aceb12 100644
> --- a/drivers/scsi/pm8001/pm8001_sas.c
> +++ b/drivers/scsi/pm8001/pm8001_sas.c
> @@ -657,7 +657,7 @@ static int pm8001_dev_found_notify(struct domain_device *dev)
>                 if (dev->dev_type == SAS_SATA_DEV) {
>                         pm8001_device->attached_phy =
>                                 dev->rphy->identify.phy_identifier;
> -                               flag = 1; /* directly sata*/
> +                       flag = 1; /* directly sata*/
>                 }
>         } /*register this device to HBA*/
>         PM8001_DISC_DBG(pm8001_ha, pm8001_printk("Found device\n"));
>
Martin K. Petersen Jan. 4, 2019, 6:01 a.m. UTC | #2
Julia,

> Delete tab aligning a statement with the right hand side of a
> preceding assignment rather than the left hand side.

Applied to 4.21/scsi-fixes, thanks!
diff mbox series

Patch

diff --git a/drivers/scsi/pm8001/pm8001_sas.c b/drivers/scsi/pm8001/pm8001_sas.c
index b3be49d41375..44b630aceb12 100644
--- a/drivers/scsi/pm8001/pm8001_sas.c
+++ b/drivers/scsi/pm8001/pm8001_sas.c
@@ -657,7 +657,7 @@  static int pm8001_dev_found_notify(struct domain_device *dev)
 		if (dev->dev_type == SAS_SATA_DEV) {
 			pm8001_device->attached_phy =
 				dev->rphy->identify.phy_identifier;
-				flag = 1; /* directly sata*/
+			flag = 1; /* directly sata*/
 		}
 	} /*register this device to HBA*/
 	PM8001_DISC_DBG(pm8001_ha, pm8001_printk("Found device\n"));