commit | f7a9b36517d38cfa2213a346b154d2d7046ff223 | [log] [tgz] |
---|---|---|
author | Sasha Levin <sasha.levin@oracle.com> | Thu Nov 08 15:23:08 2012 -0500 |
committer | Linus Walleij <linus.walleij@linaro.org> | Sat Nov 17 19:44:39 2012 +0100 |
tree | a1725e9c8e3b4e67e579d2a6d0035eceab31acd4 | |
parent | 379df2793efdca18e91cb8570f844ad1f83eb609 [diff] |
ARM: integrator: use BUG_ON where possible 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>