Skip to content
Commit 120aa39b authored by Jishnu Prakash's avatar Jishnu Prakash
Browse files

msm: sps: Update debug message format specifier



Restrict printing of kernel virtual addresses in SPS driver.
In debug code, %p is used to print virtual addresses of
kernel objects, which can be exploited by attackers. It is
replaced with %pK, which hides these values if kptr_restrict
is set (default on Android).

Change-Id: I57585fa655abc01b2e8d694c8f31b7617bbf4ec7
Signed-off-by: default avatarJishnu Prakash <jprakash@codeaurora.org>
parent d9f72f76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment