]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: target: iscsi: Fix an error message in iscsi_check_key()
authorMaurizio Lombardi <mlombard@redhat.com>
Tue, 14 Feb 2023 14:15:56 +0000 (15:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Apr 2023 09:16:39 +0000 (11:16 +0200)
commit5a529d67350ab79d5c90ed54b8e5b1f68f537293
tree76aed07de9c52810262a190560686b86a1dc0e51
parent42f016b0d5418867522ea40cb2c5b1bb133ec5b6
scsi: target: iscsi: Fix an error message in iscsi_check_key()

[ Upstream commit 6cc55c969b7ce8d85e09a636693d4126c3676c11 ]

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: Maurizio Lombardi <mlombard@redhat.com>
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/target/iscsi/iscsi_target_parameters.c