scsi: hisi_sas: replace "%p" with "%pK"
authorXiang Chen <chenxiang66@hisilicon.com>
Mon, 5 Aug 2019 13:48:11 +0000 (21:48 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 8 Aug 2019 02:13:15 +0000 (22:13 -0400)
commite7513f666bc73c357805df498df34179c8b4fc9b
treea3e043fbab5e11abf6fd21c18592d2ef63215c94
parenta07b48766c5232b98154f68010512a9269f2841e
scsi: hisi_sas: replace "%p" with "%pK"

The format specifier "%p" can leak kernel address, and use "%pK" instead.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c