]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd2660fe958ec53309ba3bc4d8c7c2e1be15e104b
treef573431a2d8d5ba1ad1e8ac09b65e75a404a412c
parente2225e8c44a97f6cfdf56f30b3a191e8439f62a2
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