OSDN Git Service

media: ispstat: use %p to print the address of a buffer
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 6 Apr 2018 12:29:10 +0000 (08:29 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 17 Apr 2018 09:30:44 +0000 (05:30 -0400)
commite6aded73f00ed26a606fcb18a0e0f438c0e57f06
treef573431a2d8d5ba1ad1e8ac09b65e75a404a412c
parent8c2bb52f5276ecf5561735a8aca9340aa25380d3
media: ispstat: use %p to print the address of a buffer

Instead of converting to int, use %p. That prevents this
warning:
drivers/media/platform/omap3isp/ispstat.c:451 isp_stat_bufs_alloc() warn: argument 7 to %08lx specifier is cast from pointer

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/omap3isp/ispstat.c