Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Max Hawking and committed by
Jon Mason
1501ae74 e229897d

+1 -1
+1 -1
drivers/ntb/test/ntb_perf.c
··· 1227 1227 "\tOut buffer addr 0x%pK\n", peer->outbuf); 1228 1228 1229 1229 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); 1231 1231 1232 1232 pos += scnprintf(buf + pos, buf_size - pos, 1233 1233 "\tOut buffer size %pa\n", &peer->outbuf_size);