diff options
author | Guo Zhi <[email protected]> | 2021-09-22 21:48:57 +0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2021-09-27 14:32:14 -0300 |
commit | 7d5cfafe8b4006a75b55c2f1fdfdb363f9a5cc98 (patch) | |
tree | f7edc859c84723164772fc7b65cb7a760a0401f5 /scripts/gdb/linux/utils.py | |
parent | a86cd017a40a66b1a3db005bfee4e76a1ae9a432 (diff) |
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/[email protected]
Signed-off-by: Guo Zhi <[email protected]>
Acked-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions