[media] omap3isp: ispqueue: Fix uninitialized variable compiler warnings
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 17 Dec 2012 07:52:48 +0000 (04:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Dec 2012 20:21:49 +0000 (18:21 -0200)
commite19bc863f1f45223a85935f070177eda6b422f8f
tree69dc28978a6fa7c779e136b03f40531bb2c59b3a
parent36a495a336c3fbbb2f4eeed2a94ab6d5be19d186
[media] omap3isp: ispqueue: Fix uninitialized variable compiler warnings

drivers/media/platform/omap3isp/ispqueue.c:399:18: warning: 'pa' may be
used uninitialized in this function [-Wuninitialized]
This is a false positive but the compiler has no way to know about it,
so initialize the variable to 0.
drivers/media/platform/omap3isp/ispqueue.c:445:6: warning:
'vm_page_prot' may be used uninitialized in this function
[-Wuninitialized]
This is a false positive and the compiler should know better. Use
uninitialized_var().

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