mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 13:11:45 +00:00
4a75cb857d
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
omapfb-ioctl.c | ||
omapfb-main.c | ||
omapfb-sysfs.c | ||
omapfb.h |