aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2020-01-10 15:16:44 -0800
committerAlexei Starovoitov <[email protected]>2020-01-11 19:08:21 -0800
commit555089fdfc37ad65e0ee9b42ca40c238ff546f83 (patch)
tree49325ac48be165288896658c354b0bad03c5118a /drivers/fpga/fpga-mgr.c
parent2e012c74823629d9db27963c79caa3f5b2010746 (diff)
bpftool: Fix printing incorrect pointer in btf_dump_ptr
For plain text output, it incorrectly prints the pointer value "void *data". The "void *data" is actually pointing to memory that contains a bpf-map's value. The intention is to print the content of the bpf-map's value instead of printing the pointer pointing to the bpf-map's value. In this case, a member of the bpf-map's value is a pointer type. Thus, it should print the "*(void **)data". Fixes: 22c349e8db89 ("tools: bpftool: fix format strings and arguments for jsonw_printf()") Signed-off-by: Martin KaFai Lau <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions