Skip to content

Commit 48ee795

Browse files
dukhyunkwonmartinkpetersen
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/1891546521.01666080182092.JavaMail.epsvc@epcpadp4 Reviewed-by: Bean Huo <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 47eee86 commit 48ee795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ufs/core/ufshcd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3098,7 +3098,7 @@ static int ufshcd_query_flag_retry(struct ufs_hba *hba,
30983098

30993099
if (ret)
31003100
dev_err(hba->dev,
3101-
"%s: query attribute, opcode %d, idn %d, failed with error %d after %d retries\n",
3101+
"%s: query flag, opcode %d, idn %d, failed with error %d after %d retries\n",
31023102
__func__, opcode, idn, ret, retries);
31033103
return ret;
31043104
}

0 commit comments

Comments
 (0)