mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
imx-drm: ipuv3-plane: Use %pad to print 'dma_addr_t'
Fix the following static checker warning: drivers/staging/imx-drm/ipuv3-plane.c:75:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'dma_addr_t' [-Wformat] Use %pad to print 'dma_addr_t'. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
39dcf4f708
commit
18589738ee
1 changed files with 2 additions and 2 deletions
|
@ -72,8 +72,8 @@ int ipu_plane_set_base(struct ipu_plane *ipu_plane, struct drm_framebuffer *fb,
|
|||
return -EFAULT;
|
||||
}
|
||||
|
||||
dev_dbg(ipu_plane->base.dev->dev, "phys = 0x%x, x = %d, y = %d",
|
||||
cma_obj->paddr, x, y);
|
||||
dev_dbg(ipu_plane->base.dev->dev, "phys = %pad, x = %d, y = %d",
|
||||
&cma_obj->paddr, x, y);
|
||||
|
||||
cpmem = ipu_get_cpmem(ipu_plane->ipu_ch);
|
||||
ipu_cpmem_set_stride(cpmem, fb->pitches[0]);
|
||||
|
|
Loading…
Reference in a new issue