Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4827325ybl; Wed, 22 Jan 2020 05:29:25 -0800 (PST) X-Google-Smtp-Source: APXvYqxMz8gFOlbK3aIKL/f88AO0oIlg+kFJmKhSurpOyhPBqqhnBOB3d9sDkiqrmnMTB16ximy0 X-Received: by 2002:aca:5905:: with SMTP id n5mr6952859oib.54.1579699765448; Wed, 22 Jan 2020 05:29:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579699765; cv=none; d=google.com; s=arc-20160816; b=nXp0+WgE2hgHwSdKm2/ecZFjJZtEH2I2XLvRqZANqi4eXEbsBCM23WICUuedDaEO92 OtBYclqnFY4BvPmOIpn6g78+/f19Oi0DUpsH+r7Ptt4l1/PEVPOF+j3vf+AZtqg3x1po PcAQSaFTFUdzTKrRjMbG1+gGU4liIf2te9uSds6q0t7rlEo4TUE/HXTJ1Q+D2dk07Rog JkgdYKwDtpNYNvtxzPyRuA5Vqc0Zxl5uPLRxx/aXd/Z9FJm1TRh45NT4M0dtsZtWlX3Y 7qcLKd/4kBny88DJsDi3B4VovAIqGT2z6hduuTsvPLJ49Ha29J8YBOevHUqWem1HCiR0 s3UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=DiowuwOBY8b571RbqK9FfufidYh005r8xJ7s/Aqgiuo=; b=q0/iwWPLydjokapUNEvalcu0MneWEEkArWdaHW6StRG3mLJEOsyXFPQdzBjWEMY/dx emGyHJ28p3CPnuqC2c+Ddd0WL20tO4QiRVTpvAoikTwtS3OGVADnuFz9uGG4nQR5Xo3b tP3/TQ1oiZUCaIRvwebuqV3/YQWMnIii3y2KSm19O6C8bPzeEagSGXU9M6DQ+InxstTw 8j/k7J+dO1FhhvOaQNMRkarQhNPN7jnj3PlPLSdDSsZT1ibJAfrUk4vxnRNuOH/Okgko KeAFuFteXLrx2rcRm63diolrG5rjZMMJ8hTvr8FQ7V59DwgsugU/DK747hICrsb9F1Gw crCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zYrUfLeE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h9si22704539otb.49.2020.01.22.05.29.13; Wed, 22 Jan 2020 05:29:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zYrUfLeE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731123AbgAVN1X (ORCPT + 99 others); Wed, 22 Jan 2020 08:27:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:48540 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730635AbgAVN1R (ORCPT ); Wed, 22 Jan 2020 08:27:17 -0500 Received: from localhost (unknown [84.241.205.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E682324690; Wed, 22 Jan 2020 13:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579699636; bh=FjVa/TtanWhsbNi+fN2ck1+11LWGxXUxjOdAbshIHZs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zYrUfLeEUx7N/GYJq9y40Zb/ktPMbKyUsbbY5NcY09QRYBk+xrGjWs06vb7xkitMK IY2JxD8z4Nt1XZWbZfmrQqafsS9OP8HizHXjRdG7/1Y0x6R+CKq8LWVAxeswZGx5eL ENnOHsnMfH7HZbvtwbWETowafeJJV0SMcJXmHM+s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Christoph Hellwig , Bart Van Assche , "Martin K. Petersen" Subject: [PATCH 5.4 204/222] scsi: target: core: Fix a pr_debug() argument Date: Wed, 22 Jan 2020 10:29:50 +0100 Message-Id: <20200122092848.308412177@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200122092833.339495161@linuxfoundation.org> References: <20200122092833.339495161@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bart Van Assche 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 Link: https://lore.kernel.org/r/20191107215525.64415-1-bvanassche@acm.org Signed-off-by: Bart Van Assche Signed-off-by: Martin K. Petersen Signed-off-by: Greg Kroah-Hartman --- drivers/target/target_core_fabric_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/target/target_core_fabric_lib.c +++ b/drivers/target/target_core_fabric_lib.c @@ -118,7 +118,7 @@ static int srp_get_pr_transport_id( memset(buf + 8, 0, leading_zero_bytes); rc = hex2bin(buf + 8 + leading_zero_bytes, p, count); if (rc < 0) { - pr_debug("hex2bin failed for %s: %d\n", __func__, rc); + pr_debug("hex2bin failed for %s: %d\n", p, rc); return rc; }