1
0
Fork 0
alistair23-linux/drivers/infiniband/sw/siw
Bernard Metzler c536277e0d 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: b0fff7317b ("rdma/siw: completion queue methods")
Fixes: 8b6a361b8c ("rdma/siw: receive path")
Fixes: b9be6f18cf ("rdma/siw: transmit path")
Fixes: f29dd55b02 ("rdma/siw: queue pair methods")
Fixes: 2251334dca ("rdma/siw: application buffer management")
Fixes: 303ae1cdfd ("rdma/siw: application interface")
Fixes: 6c52fdc244 ("rdma/siw: connection management")
Fixes: a531975279 ("rdma/siw: main include file")

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reported-by: Jason Gunthorpe <jgg@ziepe.ca>
Reported-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
Link: https://lore.kernel.org/r/20190822173738.26817-1-bmt@zurich.ibm.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
2019-08-23 12:08:27 -04:00
..
Kconfig RDMA/siw: Change CQ flags from 64->32 bits 2019-08-13 12:22:06 -04:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00
iwarp.h
siw.h RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_cm.c RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_cm.h rdma/siw: connection management 2019-07-02 17:03:40 -03:00
siw_cq.c RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_main.c RDMA/siw: Fix a memory leak in siw_init_cpulist() 2019-08-12 10:59:36 -04:00
siw_mem.c RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_mem.h RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_qp.c RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_qp_rx.c RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_qp_tx.c RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_verbs.c RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_verbs.h rdma/siw: application interface 2019-07-02 17:03:40 -03:00