Re: [PATCH 1/4] qla2xxx: Fix indentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/17/17, 10:02 AM, "Bart Van Assche" <bart.vanassche@xxxxxxxxxxx> wrote:

>This patch avoids that smatch complains about inconsistent indentation.
>
>Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxxxxxx>
>Cc: Quinn Tran <quinn.tran@xxxxxxxxxx>
>Cc: Himanshu Madhani <himanshu.madhani@xxxxxxxxxx>
>Cc: Christoph Hellwig <hch@xxxxxx>
>---
> drivers/scsi/qla2xxx/qla_mbx.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
>diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c
>index 2819ceb96041..3f0b592f02bf 100644
>--- a/drivers/scsi/qla2xxx/qla_mbx.c
>+++ b/drivers/scsi/qla2xxx/qla_mbx.c
>@@ -101,12 +101,12 @@ qla2x00_mailbox_command(scsi_qla_host_t *vha, mbx_cmd_t *mcp)
> 		return QLA_FUNCTION_TIMEOUT;
> 	}
> 
>-	 /* if PCI error, then avoid mbx processing.*/
>-	 if (test_bit(PCI_ERR, &base_vha->dpc_flags)) {
>+	/* if PCI error, then avoid mbx processing.*/
>+	if (test_bit(PCI_ERR, &base_vha->dpc_flags)) {
> 		ql_log(ql_log_warn, vha, 0x1191,
> 		    "PCI error, exiting.\n");
> 		return QLA_FUNCTION_TIMEOUT;
>-	 }
>+	}
> 
> 	reg = ha->iobase;
> 	io_lock_on = base_vha->flags.init_done;
>-- 
>2.11.0

Looks Good. Thanks for cleanup.

Acked-by: Himanshu Madhani <himanshu.madhani@xxxxxxxxxx>

>
��.n��������+%������w��{.n����j�����{ay�ʇڙ���f���h������_�(�階�ݢj"��������G����?���&��




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux