From: Bean Huo <[email protected]>
Bean Huo (2):
scsi: ufs: Remove an unused macro definition POWER_DESC_MAX_SIZE
scsi: ufs: Fix wrong print message in dev_err()
drivers/scsi/ufs/ufs.h | 1 -
drivers/scsi/ufs/ufshcd.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
--
2.17.1
From: Bean Huo <[email protected]>
Change dev_err() print message from "dme-reset" to "dme_enable" in function
ufshcd_dme_enable().
Signed-off-by: Bean Huo <[email protected]>
---
drivers/scsi/ufs/ufshcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
index 5b2219e44743..f8f5eddad506 100644
--- a/drivers/scsi/ufs/ufshcd.c
+++ b/drivers/scsi/ufs/ufshcd.c
@@ -3645,7 +3645,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;
}
--
2.17.1
Hi Bean,
> -----Original Message-----
> From: Bean Huo <[email protected]>
> Sent: 08 December 2020 00:32
> To: [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected]; [email protected];
> [email protected]
> Cc: [email protected]; [email protected]
> Subject: [PATCH 0/2] two UFS changes
>
> From: Bean Huo <[email protected]>
>
>
>
> Bean Huo (2):
> scsi: ufs: Remove an unused macro definition POWER_DESC_MAX_SIZE
> scsi: ufs: Fix wrong print message in dev_err()
>
> drivers/scsi/ufs/ufs.h | 1 -
> drivers/scsi/ufs/ufshcd.c | 2 +-
> 2 files changed, 1 insertion(+), 2 deletions(-)
>
Thanks!
Acked-by: Alim Akhtar <[email protected]>
> --
> 2.17.1
> From: Bean Huo <[email protected]>
>
> Change dev_err() print message from "dme-reset" to "dme_enable" in
> function
> ufshcd_dme_enable().
>
> Signed-off-by: Bean Huo <[email protected]>
Acked-by: Avri Altman <[email protected]?
Bean,
> Bean Huo (2):
> scsi: ufs: Remove an unused macro definition POWER_DESC_MAX_SIZE
> scsi: ufs: Fix wrong print message in dev_err()
Applied to 5.11/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering