f7a9b36517
Just use BUG_ON() instead of constructions such as: if (...) BUG() A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression e; @@ - if (e) BUG(); + BUG_ON(e); // </smpl> Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> |
||
---|---|---|
.. | ||
include/mach | ||
common.h | ||
core.c | ||
cpu.c | ||
impd1.c | ||
integrator_ap.c | ||
integrator_cp.c | ||
Kconfig | ||
leds.c | ||
lm.c | ||
Makefile | ||
Makefile.boot | ||
pci_v3.c | ||
pci.c |