Skip to content

Commit 1501ae7

Browse files
Max Hawkingjonmason
authored andcommitted
ntb_perf: Fix printk format
The correct printk format is %pa or %pap, but not %pa[p]. Fixes: 99a0605 ("NTB: ntb_perf: Fix address err in perf_copy_chunk") Signed-off-by: Max Hawking <[email protected]> Signed-off-by: Jon Mason <[email protected]>
1 parent e229897 commit 1501ae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ntb/test/ntb_perf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ static ssize_t perf_dbgfs_read_info(struct file *filep, char __user *ubuf,
12271227
"\tOut buffer addr 0x%pK\n", peer->outbuf);
12281228

12291229
pos += scnprintf(buf + pos, buf_size - pos,
1230-
"\tOut buff phys addr %pa[p]\n", &peer->out_phys_addr);
1230+
"\tOut buff phys addr %pap\n", &peer->out_phys_addr);
12311231

12321232
pos += scnprintf(buf + pos, buf_size - pos,
12331233
"\tOut buffer size %pa\n", &peer->outbuf_size);

0 commit comments

Comments
 (0)