Skip to content
Snippets Groups Projects
Commit c0cc4592 authored by Weihang Li's avatar Weihang Li Committed by 谢秀奇
Browse files

RDMA/hns: use %pK instead of %p


driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

The format specifier "%p" can leak kernel addresses, so we use "%pK"
instead. The behavior of %pK depends on the kptr_restrict sysctl.

Feature or Bugfix: Bugfix

Signed-off-by: default avatarWeihang Li <liweihang@hisilicon.com>
Reviewed-by: default avataroulijun <oulijun@huawei.com>
Reviewed-by: default avatarliuyixian <liuyixian@huawei.com>
Reviewed-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent c20a454f
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment