summaryrefslogtreecommitdiff
path: root/drivers/video/c2p_iplan2.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-05-18 11:47:02 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-05-22 10:59:14 +0300
commitc6eee968d40d319f0ac7a8a63dcbc633d9e6a2ea (patch)
tree69c37f169f25f8fad858b032508d2a1c2cd5c8ea /drivers/video/c2p_iplan2.c
parent36377357db00f8660039578ba57a2a19bfc9ad3d (diff)
downloadlinux-next-c6eee968d40d319f0ac7a8a63dcbc633d9e6a2ea.tar.gz
OMAPDSS: remove compiler warnings when CONFIG_BUG=n
If CONFIG_BUG is not enabled, BUG() does not stop the execution. Many places in code expect the execution to stop, and this causes compiler warnings about uninitialized variables and returning from a non-void function without a return value. This patch fixes the warnings by initializing the variables and returning properly after BUG() lines. However, the behaviour is still undefined after the BUG, but this is the choice the user makes when using CONFIG_BUG=n. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/c2p_iplan2.c')
0 files changed, 0 insertions, 0 deletions