OSDN Git Service

scsi: target: core: Fix a pr_debug() argument
authorBart Van Assche <bvanassche@acm.org>
Thu, 7 Nov 2019 21:55:25 +0000 (13:55 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2020 07:21:38 +0000 (08:21 +0100)
commitd27b78caf39d0e68a1ce022114be9903beac2a68
treeab60a0fd5079881ed23b9b70fb96c61cbf185b2f
parent295a863b91fa6772c2dee311063adecff4e80359
scsi: target: core: Fix a pr_debug() argument

commit c941e0d172605731de9b4628bd4146d35cf2e7d6 upstream.

Print the string for which conversion failed instead of printing the
function name twice.

Fixes: 2650d71e244f ("target: move transport ID handling to the core")
Cc: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20191107215525.64415-1-bvanassche@acm.org
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/target/target_core_fabric_lib.c