Commit b8eade24c9891b8f153c40cf310ef4696c873af9
Committed by
Dave Airlie
1 parent
293d3f6a70
Exists in
master
and in
13 other branches
drm/exynos: use %pad for dma_addr_t
Use %pad for dma_addr_t, because a dma_addr_t type can vary based on build options. So, it prevents possible build warnings in printks. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
drivers/gpu/drm/exynos/exynos_drm_dmabuf.c
... | ... | @@ -263,7 +263,7 @@ |
263 | 263 | buffer->sgt = sgt; |
264 | 264 | exynos_gem_obj->base.import_attach = attach; |
265 | 265 | |
266 | - DRM_DEBUG_PRIME("dma_addr = 0x%x, size = 0x%lx\n", buffer->dma_addr, | |
266 | + DRM_DEBUG_PRIME("dma_addr = %pad, size = 0x%lx\n", &buffer->dma_addr, | |
267 | 267 | buffer->size); |
268 | 268 | |
269 | 269 | return &exynos_gem_obj->base; |
drivers/gpu/drm/exynos/exynos_drm_vidi.c