diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2017-03-14 21:38:04 +0300 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2017-03-21 07:17:22 +0300 |
commit | 9cdf0ed25a9b34fd82cb0eb47a8bdc47dc9f4ff5 (patch) | |
tree | 5b3cdd7729308fbe0a7ea18dbca5a27eca45b47a /drivers/gpu/drm/exynos/exynos_drm_fimc.c | |
parent | f07d9c2864d4ccf0a0b5bd2dd6491f5204eab5fe (diff) | |
download | linux-9cdf0ed25a9b34fd82cb0eb47a8bdc47dc9f4ff5.tar.xz |
drm/exynos: Print kernel pointers in a restricted form
Printing raw kernel pointers might reveal information which sometimes we
try to hide (e.g. with Kernel Address Space Layout Randomization). Use
the "%pK" format so these pointers will be hidden for unprivileged
users.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_fimc.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_fimc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimc.c b/drivers/gpu/drm/exynos/exynos_drm_fimc.c index 95871577015d..5b18b5c5fdf2 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimc.c @@ -1695,7 +1695,7 @@ static int fimc_probe(struct platform_device *pdev) goto err_put_clk; } - DRM_DEBUG_KMS("id[%d]ippdrv[%p]\n", ctx->id, ippdrv); + DRM_DEBUG_KMS("id[%d]ippdrv[%pK]\n", ctx->id, ippdrv); spin_lock_init(&ctx->lock); platform_set_drvdata(pdev, ctx); |