RDMA/hfi1: Fix kernel pointer leak
authorGuo Zhi <qtxuning1999@sjtu.edu.cn>
Wed, 22 Sep 2021 13:48:57 +0000 (21:48 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 27 Sep 2021 17:32:14 +0000 (14:32 -0300)
commit7d5cfafe8b4006a75b55c2f1fdfdb363f9a5cc98
treef7edc859c84723164772fc7b65cb7a760a0401f5
parenta86cd017a40a66b1a3db005bfee4e76a1ae9a432
RDMA/hfi1: Fix kernel pointer leak

Pointers should be printed with %p or %px rather than cast to 'unsigned
long long' and printed with %llx.  Change %llx to %p to print the secured
pointer.

Fixes: 042a00f93aad ("IB/{ipoib,hfi1}: Add a timeout handler for rdma_netdev")
Link: https://lore.kernel.org/r/20210922134857.619602-1-qtxuning1999@sjtu.edu.cn
Signed-off-by: Guo Zhi <qtxuning1999@sjtu.edu.cn>
Acked-by: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hfi1/ipoib_tx.c