drm/cma: Fix printk formats in drm_gem_cma_describe
authorJon Medhurst <tixy@linaro.org>
Wed, 15 Apr 2015 10:24:35 +0000 (11:24 +0100)
committerAlex Shi <alex.shi@linaro.org>
Wed, 15 Apr 2015 12:03:08 +0000 (20:03 +0800)
commit02c8f54ff799ab4289677e0c584554b4d8a28917
tree137fb70c7369e1c4e86e1b77a3f081a20e611d3a
parentb3c57d879f209074fbd0aa645274500151d69ec1
drm/cma: Fix printk formats in drm_gem_cma_describe

This fixes the following warnings when building for arm64...

drivers/gpu/drm/drm_gem_cma_helper.c: In function ‘drm_gem_cma_descr    ibe’:
drivers/gpu/drm/drm_gem_cma_helper.c:273:4: warning: format ‘%Zx’ expects argument of type ‘size_t’, but argument 6 has type ‘dma_addr_t’ [-Wformat=]
    off, cma_obj->paddr, cma_obj->vaddr, obj->size);
    ^
drivers/gpu/drm/drm_gem_cma_helper.c:273:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘size_t’ [-Wformat=]

Signed-off-by: Jon Medhurst <tixy@linaro.org>
drivers/gpu/drm/drm_gem_cma_helper.c