summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorGuo Zhi <qtxuning1999@sjtu.edu.cn>2021-09-29 20:25:37 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-26 10:47:15 +0100
commitcc248790bfdcf879e3094fa248c85bf92cdf9dae (patch)
tree1989885137b34e5175c65342f5098e3db1354270 /drivers/base
parentbcc1eac0bd49f78021d6bf04d2e63ede2c1f15fa (diff)
downloadlinux-cc248790bfdcf879e3094fa248c85bf92cdf9dae.tar.gz
linux-cc248790bfdcf879e3094fa248c85bf92cdf9dae.tar.bz2
linux-cc248790bfdcf879e3094fa248c85bf92cdf9dae.zip
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 'drivers/base')
0 files changed, 0 insertions, 0 deletions