aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2012-12-11 09:11:52 -0300
committerMauro Carvalho Chehab <[email protected]>2012-12-27 17:35:11 -0200
commitf7c3f5ce17a135610b114a17e917b5a53c4d07c4 (patch)
tree9cd04205838cdb8f79fb3c0b71be1408fc94682e /tools/perf/scripts/python
parent21a73397c0cea688a37c532d1029fc8ecbd88fc6 (diff)
[media] omap3isp: csiphy: Fix an uninitialized variable compiler warning
drivers/media/platform/omap3isp/ispcsiphy.c: In function ‘csiphy_routing_cfg’: drivers/media/platform/omap3isp/ispcsiphy.c:71:57: warning: ‘shift’ may be used uninitialized in this function [-Wuninitialized] drivers/media/platform/omap3isp/ispcsiphy.c:40:6: note: ‘shift’ was declared here The warning is a false positive but the compiler is right in complaining. Fix it by using the correct enum data type for the iface argument and adding a default case in the switch statement. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions