diff options
author | Max Hawking <maxahawking@sonnenkinder.org> | 2023-10-09 06:45:16 +0300 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2024-09-20 17:50:38 +0300 |
commit | 1501ae7479c8d0f66efdbfdc9ae8d6136cefbd37 (patch) | |
tree | eb7d5ebdd55127b5b140af3f8597de297240204c /drivers/ntb | |
parent | e229897d373a87ee09ec5cc4ecd4bb2f895fc16b (diff) | |
download | linux-1501ae7479c8d0f66efdbfdc9ae8d6136cefbd37.tar.xz |
ntb_perf: Fix printk format
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 <maxahawking@sonnenkinder.org>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb')
-rw-r--r-- | drivers/ntb/test/ntb_perf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, "\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); |