]> git.baikalelectronics.ru Git - kernel.git/commitdiff
scsi: ufs: core: Fix typos in error messages
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 21 Jun 2022 14:46:53 +0000 (16:46 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Jun 2022 01:40:11 +0000 (21:40 -0400)
Should be "retries" instead of "retires".

Link: https://lore.kernel.org/r/20220621144653.62630-1-wsa+renesas@sang-engineering.com
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c

index cdea7edeb14d5e0d589017b53f411c77a980f109..f5d5dde497acd5c50c757d71723c61c98df09aac 100644 (file)
@@ -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;
 }