summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorBean Huo <beanhuo@micron.com>2020-12-07 20:01:37 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2020-12-09 17:34:19 +0100
commit1fa0570002e3f66db9b58c32c60de4183b857a19 (patch)
treef782b84c8d31220a01e71051d8e11f2c41be8686 /drivers/scsi
parentscsi: ufs: Remove unused macro definition POWER_DESC_MAX_SIZE (diff)
downloadlinux-1fa0570002e3f66db9b58c32c60de4183b857a19.tar.xz
linux-1fa0570002e3f66db9b58c32c60de4183b857a19.zip
scsi: ufs: Fix wrong print message in dev_err()
Change dev_err() print message from "dme-reset" to "dme_enable" in function ufshcd_dme_enable(). Link: https://lore.kernel.org/r/20201207190137.6858-3-huobean@gmail.com Acked-by: Alim Akhtar <alim.akhtar@samsung.com> Acked-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/ufs/ufshcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
index c1c401b2b69d..6bcedebae4a8 100644
--- a/drivers/scsi/ufs/ufshcd.c
+++ b/drivers/scsi/ufs/ufshcd.c
@@ -3641,7 +3641,7 @@ static int ufshcd_dme_enable(struct ufs_hba *hba)
ret = ufshcd_send_uic_cmd(hba, &uic_cmd);
if (ret)
dev_err(hba->dev,
- "dme-reset: error code %d\n", ret);
+ "dme-enable: error code %d\n", ret);
return ret;
}