diff mbox series

ufs: core: fix typos in error messages

Message ID 20220621144653.62630-1-wsa+renesas@sang-engineering.com (mailing list archive)
State Accepted
Headers show
Series ufs: core: fix typos in error messages | expand

Commit Message

Wolfram Sang June 21, 2022, 2:46 p.m. UTC
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(-)

Comments

Martin K. Petersen June 28, 2022, 3:24 a.m. UTC | #1
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
diff mbox series

Patch

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;
 }