From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE6321C07DB; Tue, 15 Oct 2024 13:03:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728997439; cv=none; b=ajV1Kaa0iklIDbi4sRYOPBk3JD72/DPqciEWFFb78idikVh4wJznr5qvgJfwmk6aRlES+9GoK0roGbG4Q7wJmK5CDk/rBBBM58mqSgu6SAo7jjMN1yln/waa1MsDCgjnVwAV0F1RX2ZK8qiXIb/sHmUk28hNCITTqO1nABdOrmc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728997439; c=relaxed/simple; bh=sZDU9em+tchVxwCYJBO6fmSAogGCDqthMXf0qxUx/Ww=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=djaVatI3iNHZpbSKnTRpur8DEAVwfVRT9WEB/jvW+q7cMqIyb2rmNWX6GCGYi5FIwVA4HFWfU0VYCDwy5qJvlxugUTfD9rZlIgXmPos8ZBmA2yDWudlg53EBGBUTbjEwnkQHgMsD14qqCmE7p9GBVjvQCeyPoGmryfWx2XjiRww= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=w3GRr2zV; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="w3GRr2zV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F3A9C4CED2; Tue, 15 Oct 2024 13:03:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1728997438; bh=sZDU9em+tchVxwCYJBO6fmSAogGCDqthMXf0qxUx/Ww=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=w3GRr2zVetu1KxlwKPy1304UhCvchhUs5FwU6ZCdzX0OlTl/BxJVUWIFdzsXRwVzy EnGOmm9kPzC4kHhqbvwrQ6jfa6o1Ujk6gNQ710iY5ejJu8heAyvuq/wf4M3f0amKxs Eej43MPp3AOslmob3pWzXZf4mpztnCnU4AZkPVyU= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Max Hawking , Jon Mason , Sasha Levin Subject: [PATCH 5.10 183/518] ntb_perf: Fix printk format Date: Tue, 15 Oct 2024 14:41:27 +0200 Message-ID: <20241015123924.052402733@linuxfoundation.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241015123916.821186887@linuxfoundation.org> References: <20241015123916.821186887@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Max Hawking [ Upstream commit 1501ae7479c8d0f66efdbfdc9ae8d6136cefbd37 ] The correct printk format is %pa or %pap, but not %pa[p]. Fixes: 99a06056124d ("NTB: ntb_perf: Fix address err in perf_copy_chunk") Signed-off-by: Max Hawking Signed-off-by: Jon Mason Signed-off-by: Sasha Levin --- drivers/ntb/test/ntb_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ntb/test/ntb_perf.c b/drivers/ntb/test/ntb_perf.c index 65e1e5cf1b29a..5a7a02408166e 100644 --- a/drivers/ntb/test/ntb_perf.c +++ b/drivers/ntb/test/ntb_perf.c @@ -1227,7 +1227,7 @@ static ssize_t perf_dbgfs_read_info(struct file *filep, char __user *ubuf, "\tOut buffer addr 0x%pK\n", peer->outbuf); pos += scnprintf(buf + pos, buf_size - pos, - "\tOut buff phys addr %pa[p]\n", &peer->out_phys_addr); + "\tOut buff phys addr %pap\n", &peer->out_phys_addr); pos += scnprintf(buf + pos, buf_size - pos, "\tOut buffer size %pa\n", &peer->outbuf_size); -- 2.43.0