]> Git Repo - linux.git/blobdiff - drivers/scsi/lpfc/lpfc_nvme.c
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[linux.git] / drivers / scsi / lpfc / lpfc_nvme.c
index 55ab9d3ee4ba09a217da7889f9bf8de19dfd7d77..1aa00d2c3f74e329341114562527c3f78914f6ec 100644 (file)
@@ -965,7 +965,7 @@ lpfc_nvme_io_cmd_wqe_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *pwqeIn,
        struct lpfc_nodelist *ndlp;
        struct lpfc_nvme_fcpreq_priv *freqpriv;
        struct lpfc_nvme_lport *lport;
-       uint32_t code, status, idx, cpu;
+       uint32_t code, status, idx;
        uint16_t cid, sqhd, data;
        uint32_t *ptr;
 
@@ -1138,6 +1138,7 @@ out_err:
                lpfc_nvme_ktime(phba, lpfc_ncmd);
        }
        if (phba->cpucheck_on & LPFC_CHECK_NVME_IO) {
+               uint32_t cpu;
                idx = lpfc_ncmd->cur_iocbq.hba_wqidx;
                cpu = smp_processor_id();
                if (cpu < LPFC_CHECK_CPU_CNT) {
This page took 0.038732 seconds and 4 git commands to generate.