diff options
| author | Guo Zhi <qtxuning1999@sjtu.edu.cn> | 2021-09-29 20:25:37 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-26 11:58:42 +0100 |
| commit | 06d7d12efb5c62db9dea15141ae2b322c2719515 (patch) | |
| tree | 9da067c513a6a237cd46d3ec1179909078e2c4a7 /kernel/bpf/arraymap.c | |
| parent | 1ba7605856e05fa991d4654ac69e5ace66c767b9 (diff) | |
scsi: advansys: Fix kernel pointer leak
[ Upstream commit d4996c6eac4c81b8872043e9391563f67f13e406 ]
Pointers should be printed with %p or %px rather than cast to 'unsigned
long' and printed with %lx.
Change %lx to %p to print the hashed pointer.
Link: https://lore.kernel.org/r/20210929122538.1158235-1-qtxuning1999@sjtu.edu.cn
Signed-off-by: Guo Zhi <qtxuning1999@sjtu.edu.cn>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions
