Skip to contentSkip to conversation

scsi: ufs: core: Fix the error log in ufshcd_query_flag_retry()

PATCH Applied Dukhyun Kwon 3 participants 3 messages Oct 18, 2022 – Oct 22, 2022 1 message not in the archive SCSI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): CGME20221017022939epcms2p669fa5e5685ef5be1d6c4d1d3e74b6c51@epcms2p6

#1 lore raw

PATCH 1/1 scsi: ufs: core: Fix the error log in ufshcd_query_flag_retry()

In ufshcd_query_flag_retry() failed log
is incorrectly output as "ufs attibute"

---
 drivers/ufs/core/ufshcd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index 7c15cbc737b4..d8d214001217 100644
--- a/drivers/ufs/core/ufshcd.c
+++ b/drivers/ufs/core/ufshcd.c
@@ -3101,7 +3101,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 retries\n", +                        "%s: query flag, opcode %d, idn %d, failed with error %d after %d retries\n", __func__, opcode, idn, ret, retries);
         return ret;
 }
--
2.17.1