diff options
author | Divya Ponnusamy <pdivya@codeaurora.org> | 2016-06-08 13:56:23 +0530 |
---|---|---|
committer | Kyle Yan <kyan@codeaurora.org> | 2016-06-21 15:12:20 -0700 |
commit | aaaea235c69aad17b93d33d9da5dd6494cc8a766 (patch) | |
tree | e47e2c58dde60f119716950da13ecdd647be9c3e /drivers/acpi/device_pm.c | |
parent | ee800fccbed6ff45ea3f37970154d41d4c3854a9 (diff) |
staging: android: Change %p to %pK in debug messages
The format specifier %p can leak kernel addresses
while not valuing the kptr_restrict system settings.
Use %pK instead of %p, which also evaluates whether
kptr_restrict is set.
Change-Id: Ib1adf14e9620ad7b1bd3e962001c852610210d46
Signed-off-by: Divya Ponnusamy <pdivya@codeaurora.org>
Diffstat (limited to 'drivers/acpi/device_pm.c')
0 files changed, 0 insertions, 0 deletions