diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2016-02-03 12:42:46 (GMT) |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2016-03-01 14:37:08 (GMT) |
commit | 3b356785380ee04c55c802181f58f040ccfb06c7 (patch) | |
tree | 7533f2a45f120652d836ee83e691fcf2824ac951 /drivers/gpu/drm/exynos/exynos_drm_rotator.c | |
parent | dbbc925bb83a6cd717e5668c530fbc4b804fac71 (diff) | |
download | linux-3b356785380ee04c55c802181f58f040ccfb06c7.tar.xz |
drm/exynos: ipp: fix incorrect format specifiers in debug messages
Drivers should use %p for printing pointers instead of hardcoding them
as hexadecimal integers. This patch fixes compilation warnings on 64bit
architectures.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_rotator.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_rotator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_rotator.c b/drivers/gpu/drm/exynos/exynos_drm_rotator.c index bea0f78..ce59f44 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_rotator.c +++ b/drivers/gpu/drm/exynos/exynos_drm_rotator.c @@ -754,7 +754,7 @@ static int rotator_probe(struct platform_device *pdev) goto err_ippdrv_register; } - DRM_DEBUG_KMS("ippdrv[0x%x]\n", (int)ippdrv); + DRM_DEBUG_KMS("ippdrv[%p]\n", ippdrv); platform_set_drvdata(pdev, rot); |