[PATCH] ufs: core: fix typos in error messages

Wolfram Sang posted 1 patch 3 years, 10 months ago
drivers/ufs/core/ufshcd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] ufs: core: fix typos in error messages
Posted by Wolfram Sang 3 years, 10 months ago
Should be "retries" instead of "retires".

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 drivers/ufs/core/ufshcd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index bb6cbd514a69..288f20dcb2b2 100644
--- a/drivers/ufs/core/ufshcd.c
+++ b/drivers/ufs/core/ufshcd.c
@@ -3065,7 +3065,7 @@ static int ufshcd_query_flag_retry(struct ufs_hba *hba,
 
 	if (ret)
 		dev_err(hba->dev,
-			"%s: query attribute, opcode %d, idn %d, failed with error %d after %d retires\n",
+			"%s: query attribute, opcode %d, idn %d, failed with error %d after %d retries\n",
 			__func__, opcode, idn, ret, retries);
 	return ret;
 }
@@ -3233,7 +3233,7 @@ int ufshcd_query_attr_retry(struct ufs_hba *hba,
 
 	if (ret)
 		dev_err(hba->dev,
-			"%s: query attribute, idn %d, failed with error %d after %d retires\n",
+			"%s: query attribute, idn %d, failed with error %d after %d retries\n",
 			__func__, idn, ret, QUERY_REQ_RETRIES);
 	return ret;
 }
-- 
2.35.1
Re: [PATCH] ufs: core: fix typos in error messages
Posted by Martin K. Petersen 3 years, 10 months ago
On Tue, 21 Jun 2022 16:46:53 +0200, Wolfram Sang wrote:

> Should be "retries" instead of "retires".
> 
> 

Applied to 5.20/scsi-queue, thanks!

[1/1] ufs: core: fix typos in error messages
      https://git.kernel.org/mkp/scsi/c/82ede9c19839

-- 
Martin K. Petersen	Oracle Linux Engineering