drm: gem-cma: Fix warnings due to improper printk formats
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 4 Mar 2014 18:10:17 +0000 (19:10 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 4 Apr 2014 00:13:48 +0000 (10:13 +1000)
commitf4d1b02129d3045c20ebadda8865db2cc7ce2cb5
tree68354f4c326ff4949f3a56813d48dfe12b168e08
parentb65e64f7ccd40762fbd26b24414966d0437e7591
drm: gem-cma: Fix warnings due to improper printk formats

Use the %pad printk specifier to print dma_addr_t variables. This fixes
warnings on platforms where dma_addr_t has a different size than int or
size_t.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_gem_cma_helper.c