Skip to content
Snippets Groups Projects
Commit 0e713d36 authored by 谢秀奇's avatar 谢秀奇
Browse files

arm64/ras: use %pK to print address


hulk inclusion
category: bugfix
bugzilla: 5289,16633
CVE: NA

User-mode address printing is not mandatory. To be on the safe side,
changed it to %pK.

Signed-off-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Reviewed-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 53482bca
No related branches found
No related tags found
No related merge requests found
......@@ -97,8 +97,8 @@ void sea_notify_process(void)
pfn = si->paddr >> PAGE_SHIFT;
pr_err("Uncorrected hardware memory error in user-access at %llx\n",
si->paddr);
pr_err("Uncorrected hardware memory error in user-access at %pK\n",
(void *)si->paddr);
/*
* We must call memory_failure() here even if the current process is
* doomed. We still need to mark the page as poisoned and alert any
......
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