Skip to content

Commit 9341b37

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 <maxahawking@sonnenkinder.org> Signed-off-by: Jon Mason <jdmason@kudzu.us>
1 parent 1d14721 commit 9341b37

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)