scsi: lpfc: fix a handful of indentation issues
authorColin Ian King <colin.king@canonical.com>
Tue, 12 Feb 2019 15:29:45 +0000 (15:29 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 14 Feb 2019 03:15:42 +0000 (22:15 -0500)
There are a handful of statements that are indented incorrectly. Fix these.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_bsg.c
drivers/scsi/lpfc/lpfc_debugfs.c
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_mbox.c
drivers/scsi/lpfc/lpfc_sli.c

index 8698af86485d5380c9ba26d6e548b62f6d23e8a3..41ec26305b3ac753dda32da00c4b700c55157de9 100644 (file)
@@ -2947,7 +2947,7 @@ static int lpfcdiag_loop_post_rxbufs(struct lpfc_hba *phba, uint16_t rxxri,
                        cmd->un.cont64[i].addrLow = putPaddrLow(mp[i]->phys);
                        cmd->un.cont64[i].tus.f.bdeSize =
                                ((struct lpfc_dmabufext *)mp[i])->size;
-                                       cmd->ulpBdeCount = ++i;
+                       cmd->ulpBdeCount = ++i;
 
                        if ((--num_bde > 0) && (i < 2))
                                continue;
@@ -4682,7 +4682,7 @@ lpfc_bsg_issue_mbox(struct lpfc_hba *phba, struct bsg_job *job,
         * Don't allow mailbox commands to be sent when blocked or when in
         * the middle of discovery
         */
-        if (phba->sli.sli_flag & LPFC_BLOCK_MGMT_IO) {
+       if (phba->sli.sli_flag & LPFC_BLOCK_MGMT_IO) {
                rc = -EAGAIN;
                goto job_done;
        }
index ee98ea1c68f9e112726c31816e5b546cde3e8da6..1215eaa530db54106a5b994e5673b77fb5cca3af 100644 (file)
@@ -1833,7 +1833,7 @@ lpfc_debugfs_disc_trc_open(struct inode *inode, struct file *file)
        int rc = -ENOMEM;
 
        if (!lpfc_debugfs_max_disc_trc) {
-                rc = -ENOSPC;
+               rc = -ENOSPC;
                goto out;
        }
 
@@ -1883,7 +1883,7 @@ lpfc_debugfs_slow_ring_trc_open(struct inode *inode, struct file *file)
        int rc = -ENOMEM;
 
        if (!lpfc_debugfs_max_slow_ring_trc) {
-                rc = -ENOSPC;
+               rc = -ENOSPC;
                goto out;
        }
 
index eef6b929c32746278360c5c60976d846108260f2..2f1835de1e6a8a325e7923396270307f06e9fa9a 100644 (file)
@@ -10119,7 +10119,7 @@ lpfc_sli4_pci_mem_setup(struct lpfc_hba *phba)
                        dev_printk(KERN_ERR, &pdev->dev,
                                "ioremap failed for SLI4 PCI config "
                                "registers.\n");
-                               goto out;
+                       goto out;
                }
                lpfc_sli4_bar0_register_memmap(phba, if_type);
        }
index f6a5083a621ece01af79bcf9080e090b263f6423..f9ab93820791e35f3ffb6d29d32e9d4a003bc78b 100644 (file)
@@ -2095,8 +2095,8 @@ lpfc_request_features(struct lpfc_hba *phba, struct lpfcMboxq *mboxq)
        if (phba->nvmet_support) {
                bf_set(lpfc_mbx_rq_ftr_rq_mrqp, &mboxq->u.mqe.un.req_ftrs, 1);
                /* iaab/iaar NOT set for now */
-                bf_set(lpfc_mbx_rq_ftr_rq_iaab, &mboxq->u.mqe.un.req_ftrs, 0);
-                bf_set(lpfc_mbx_rq_ftr_rq_iaar, &mboxq->u.mqe.un.req_ftrs, 0);
+               bf_set(lpfc_mbx_rq_ftr_rq_iaab, &mboxq->u.mqe.un.req_ftrs, 0);
+               bf_set(lpfc_mbx_rq_ftr_rq_iaar, &mboxq->u.mqe.un.req_ftrs, 0);
        }
        return;
 }
index c4c319245a66da01c4199d1a597d0df808f6e3ca..62957d682d3f13f5c9a4a341f46583cd46811ff9 100644 (file)
@@ -1008,7 +1008,7 @@ lpfc_test_rrq_active(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp,
        if (!ndlp->active_rrqs_xri_bitmap)
                return 0;
        if (test_bit(xritag, ndlp->active_rrqs_xri_bitmap))
-                       return 1;
+               return 1;
        else
                return 0;
 }