linux/arch/openrisc/mm
Julia Lawall 2e1c958de4 arch/openrisc/mm/init.c: trivial: use BUG_ON
Use BUG_ON(x) rather than if(x) BUG();

The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@ identifier x; @@
-if (x) BUG();
+BUG_ON(x);

@@ identifier x; @@
-if (!x) BUG();
+BUG_ON(!x);
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Jonas Bonn <jonas@southpole.se>
2012-02-17 09:55:22 +01:00
..
fault.c
init.c arch/openrisc/mm/init.c: trivial: use BUG_ON 2012-02-17 09:55:22 +01:00
ioremap.c
Makefile OpenRISC: Build infrastructure 2011-07-22 18:46:30 +02:00
tlb.c