Commit 1501ae74 authored by Max Hawking's avatar Max Hawking Committed by Jon Mason

ntb_perf: Fix printk format

The correct printk format is %pa or %pap, but not %pa[p].

Fixes: 99a06056 ("NTB: ntb_perf: Fix address err in perf_copy_chunk")
Signed-off-by: default avatarMax Hawking <maxahawking@sonnenkinder.org>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent e229897d
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment