Commit 3ebfe886 authored by Maurizio Lombardi's avatar Maurizio Lombardi Committed by sanglipeng
Browse files

scsi: target: iscsi: Fix an error message in iscsi_check_key()

stable inclusion
from stable-v5.10.177
commit 799d29a447dc2461a537fc8edeb44f9cfd630936
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I88YNP

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=799d29a447dc2461a537fc8edeb44f9cfd630936

--------------------------------

[ Upstream commit 6cc55c96 ]

The first half of the error message is printed by pr_err(), the second half
is printed by pr_debug(). The user will therefore see only the first part
of the message and will miss some useful information.

Link: https://lore.kernel.org/r/20230214141556.762047-1-mlombard@redhat.com


Signed-off-by: default avatarMaurizio Lombardi <mlombard@redhat.com>
Reviewed-by: default avatarMike Christie <michael.christie@oracle.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 1728dd91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment