commit | d1afa65ca59d4e6a5f1a8c1ab9bfa73f2fa8b777 | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia@diku.dk> | Tue Aug 02 12:35:04 2011 +0200 |
committer | Chris Metcalf <cmetcalf@tilera.com> | Tue Aug 02 16:26:59 2011 -0400 |
tree | 344d0a636d63614cf5cb2a85a2a7a2e37207d54a | |
parent | 3d071cd313643cf82b1ce1ce4fdf08d63ad53964 [diff] |
arch/tile/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: Chris Metcalf <cmetcalf@tilera.com>