diff options
author | Bernard Metzler <[email protected]> | 2019-08-22 19:37:38 +0200 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2019-08-23 12:08:27 -0400 |
commit | c536277e0db1ad2e9fbb9dfd940c3565a14d9c52 (patch) | |
tree | 0b4be70446d0b451a42e8e4580ce668ee3c81c67 /tools/perf/util/trace-event-scripting.c | |
parent | fab4f97e1fe33cf08e58c09cf9eee334857d9fe7 (diff) |
RDMA/siw: Fix 64/32bit pointer inconsistency
Fixes improper casting between addresses and unsigned types.
Changes siw_pbl_get_buffer() function to return appropriate
dma_addr_t, and not u64.
Also fixes debug prints. Now any potentially kernel private
pointers are printed formatted as '%pK', to allow keeping that
information secret.
Fixes: d941bfe500be ("RDMA/siw: Change CQ flags from 64->32 bits")
Fixes: b0fff7317bb4 ("rdma/siw: completion queue methods")
Fixes: 8b6a361b8c48 ("rdma/siw: receive path")
Fixes: b9be6f18cf9e ("rdma/siw: transmit path")
Fixes: f29dd55b0236 ("rdma/siw: queue pair methods")
Fixes: 2251334dcac9 ("rdma/siw: application buffer management")
Fixes: 303ae1cdfdf7 ("rdma/siw: application interface")
Fixes: 6c52fdc244b5 ("rdma/siw: connection management")
Fixes: a531975279f3 ("rdma/siw: main include file")
Reported-by: Geert Uytterhoeven <[email protected]>
Reported-by: Jason Gunthorpe <[email protected]>
Reported-by: Leon Romanovsky <[email protected]>
Signed-off-by: Bernard Metzler <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions