scsi: qla2xxx: Fix warning for code intentation in __qla24xx_handle_gpdb_event()
authorhimanshu.madhani@cavium.com <himanshu.madhani@cavium.com>
Tue, 16 Jan 2018 04:46:50 +0000 (20:46 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 17 Jan 2018 06:34:24 +0000 (01:34 -0500)
This patch fixes following smatch warning:

drivers/scsi/qla2xxx/qla_init.c:1054 __qla24xx_handle_gpdb_event() warn: inconsistent indenting

Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c

index 08ad1a60cb0d5298ed1f12dd8de8edb5e480d4dc..e030ee38fa6f10d548ac9aea3144991468b42c19 100644 (file)
@@ -1055,7 +1055,7 @@ void __qla24xx_handle_gpdb_event(scsi_qla_host_t *vha, struct event_arg *ea)
                ql_dbg(ql_dbg_disc, vha, 0x20d6,
                    "%s %d %8phC session revalidate success\n",
                    __func__, __LINE__, ea->fcport->port_name);
-                ea->fcport->disc_state = DSC_LOGIN_COMPLETE;
+               ea->fcport->disc_state = DSC_LOGIN_COMPLETE;
        }
        spin_unlock_irqrestore(&vha->hw->tgt.sess_lock, flags);
 }