mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
[media] exynos4-is: fix a format string bug
Ironically,7d4020c3c4
("[media] exynos4-is: fix some warnings when compiling on arm64") fixed some format string bugs but introduced a new one. buf_index is a simple int, so it should be printed with %d, not %pad (which is correctly used for dma_addr_t). Fixes:7d4020c3c4
("[media] exynos4-is: fix some warnings when compiling on arm64") Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
1b4ca5aa9e
commit
76a5636754
@ -218,8 +218,8 @@ static void isp_video_capture_buffer_queue(struct vb2_buffer *vb)
|
||||
ivb->dma_addr[i];
|
||||
|
||||
isp_dbg(2, &video->ve.vdev,
|
||||
"dma_buf %pad (%d/%d/%d) addr: %pad\n",
|
||||
&buf_index, ivb->index, i, vb->index,
|
||||
"dma_buf %d (%d/%d/%d) addr: %pad\n",
|
||||
buf_index, ivb->index, i, vb->index,
|
||||
&ivb->dma_addr[i]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user