Skip to content

Commit

Permalink
scsi: ufs: Fix wrong print message in dev_err()
Browse files Browse the repository at this point in the history
Change dev_err() print message from "dme-reset" to "dme_enable" in function
ufshcd_dme_enable().

Link: https://lore.kernel.org/r/[email protected]
Acked-by: Alim Akhtar <[email protected]>
Acked-by: Avri Altman <[email protected]>
Signed-off-by: Bean Huo <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
  • Loading branch information
beanhuo authored and martinkpetersen committed Dec 9, 2020
1 parent 44fd9fb commit 1fa0570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/ufs/ufshcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1fa0570

Please sign in to comment.