summaryrefslogtreecommitdiffstats
path: root/drivers/ufs
diff options
context:
space:
mode:
authorDukhyun Kwon <d_hyun.kwon@samsung.com>2022-10-18 09:30:03 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2022-10-22 04:53:44 +0200
commit48ee7952808183201b0601d85b89d2d8ccca95ff (patch)
tree655089739112f363e536a4f383f4654d21d5721c /drivers/ufs
parentMerge branch '6.1/scsi-queue' into 6.1/scsi-fixes (diff)
downloadlinux-48ee7952808183201b0601d85b89d2d8ccca95ff.tar.xz
linux-48ee7952808183201b0601d85b89d2d8ccca95ff.zip
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". Signed-off-by: Dukhyun Kwon <d_hyun.kwon@samsung.com> Link: https://lore.kernel.org/r/1891546521.01666080182092.JavaMail.epsvc@epcpadp4 Reviewed-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ufs')
-rw-r--r--drivers/ufs/core/ufshcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index 7256e6c43ca6..54ba80cc71bc 100644
--- a/drivers/ufs/core/ufshcd.c
+++ b/drivers/ufs/core/ufshcd.c
@@ -3098,7 +3098,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;
}