From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08A20EE49A4 for ; Sun, 10 Sep 2023 19:20:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231682AbjIJTSd (ORCPT ); Sun, 10 Sep 2023 15:18:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229559AbjIJTSc (ORCPT ); Sun, 10 Sep 2023 15:18:32 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A39C13E for ; Sun, 10 Sep 2023 12:18:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Cc:Content-ID:Content-Description; bh=xcilVeHv6ykY5H+2uQdXkLGtsOdwOH4P3neVlhn/mdQ=; b=T/wE5keXZTLFdt3W0rXxbq8g6P YjqqnDGdu0e5W6yyHkIf5bvmTKqSz0/FRN2gVDixrRxUVQLkaxDiyrRKy7zfbp/8iZIBSkHOXSTZV mL8a2PfgEtpAjrpoKGBBWMF05CoeCcQktpmjWqhSiipcJoVnog+84RQNzZVt7JJu6bnUNA5vUFPfn 0+GLSMZL/vMdLFfauzf2lVmeJn6x0vTNQAeN3L8vsQWboZacAtK4WgL+R10vuurQbm+lonTxWPE94 tDXKrJ2ELT0Lt3YgNtG/PzcCdFY6fcTlvYyJ7p4KPVVMzw33JKc7d61eMMiJE1K8CPfOUKVBRC0QC zEZSyYIg==; Received: from [2601:1c2:980:9ec0::9fed] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qfPwp-00GqfE-2R; Sun, 10 Sep 2023 19:18:19 +0000 Message-ID: <4bd520bd-f0d5-7db2-30a2-5dea5d1ae4a8@infradead.org> Date: Sun, 10 Sep 2023 12:18:19 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH] ntb_perf: Fix printk format Content-Language: en-US To: Max Hawking , Jon Mason , Dave Jiang , Allen Hubbe , Serge Semin , Minjie Du , ntb@lists.linux.dev, linux-kernel@vger.kernel.org References: From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi-- On 9/10/23 00:34, Max Hawking wrote: > 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 > --- > 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 553f1f46bc66..72bc1d017a46 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, Those 2 lines above should be on one line. (i.e., they should not wrap, so set tbird's wrap length to 0) Documentation/process/email-clients.rst has some info about how to coerce Thunderbird into working for patches. > "\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.41.0 -- ~Randy