[media] media: Fix a compiler warning in media_entity_pipeline_start()
authorSakari Ailus <sakari.ailus@iki.fi>
Mon, 3 Nov 2014 20:55:51 +0000 (17:55 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 3 Nov 2014 21:09:13 +0000 (19:09 -0200)
commit094f1ca516cd32ecda8b99821a316cb4e0f367cd
tree68b9dfaa95a087ec031e779b463ac1d6668701fe
parent7e16e3fe1b3a6ae88e403e6898ddc46be063dbef
[media] media: Fix a compiler warning in media_entity_pipeline_start()

Patch "[media] media: Print information on failed link validation" cause a
harmless compiler warning in printing a debug message. Fix this.

The type casting is done do ensure the type really is suitable for printing
as %u, as find_first_zero_bit() does return int on some architectures and
unsigned long on others.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/media-entity.c