diff options
| author | 2021-09-29 20:25:37 +0800 | |
|---|---|---|
| committer | 2021-10-04 23:15:21 -0400 | |
| commit | d4996c6eac4c81b8872043e9391563f67f13e406 (patch) | |
| tree | fb70d496391b08f6ce698b589519ac21c8ddd8a9 /scripts/patch-kernel | |
| parent | scsi: target: core: Make logs less verbose (diff) | |
scsi: advansys: Fix kernel pointer leak
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>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
