diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2016-02-03 13:42:47 +0100 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2016-03-01 23:37:09 +0900 |
commit | c5f2f0c41e1b420ba422fe7840c5d243e2c202ee (patch) | |
tree | a5dc813e15e6c73646ed48d4226219672ad5cdc4 /drivers/gpu/drm/exynos/exynos_drm_gem.c | |
parent | 3b356785380ee04c55c802181f58f040ccfb06c7 (diff) |
drm/exynos: fix types for compilation on 64bit architectures
This patch fixes compilation warnings (on 64bit architectures) and bugs
related to casting pointers through 32bit integers.
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_gem.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index 32358c5e3db4..47d126ab6e07 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gem.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gem.c @@ -218,7 +218,7 @@ static struct exynos_drm_gem *exynos_drm_gem_init(struct drm_device *dev, return ERR_PTR(ret); } - DRM_DEBUG_KMS("created file object = 0x%x\n", (unsigned int)obj->filp); + DRM_DEBUG_KMS("created file object = %p\n", obj->filp); return exynos_gem; } |