scsi: ufs: reqs and tasks were put in the wrong order
authorZang Leigang <zangleigang@hisilicon.com>
Thu, 24 Aug 2017 02:57:15 +0000 (10:57 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 02:29:45 +0000 (22:29 -0400)
Signed-off-by: Zang Leigang <zangleigang@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c

index 5bc9dc14e075060aaacfba82a82ed21da08274f3..794a4600e952a4222bf22c596ae584f520dccfdb 100644 (file)
@@ -438,7 +438,7 @@ static void ufshcd_print_host_state(struct ufs_hba *hba)
 {
        dev_err(hba->dev, "UFS Host state=%d\n", hba->ufshcd_state);
        dev_err(hba->dev, "lrb in use=0x%lx, outstanding reqs=0x%lx tasks=0x%lx\n",
-               hba->lrb_in_use, hba->outstanding_tasks, hba->outstanding_reqs);
+               hba->lrb_in_use, hba->outstanding_reqs, hba->outstanding_tasks);
        dev_err(hba->dev, "saved_err=0x%x, saved_uic_err=0x%x\n",
                hba->saved_err, hba->saved_uic_err);
        dev_err(hba->dev, "Device power mode=%d, UIC link state=%d\n",