summaryrefslogtreecommitdiffstats
path: root/drivers/vhost
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2012-11-08 15:23:04 -0500
committerJiri Kosina <jkosina@suse.cz>2012-11-08 22:42:02 +0100
commit8166ea07cb89208f6beb9aa6aed554250f150cc8 (patch)
tree61819564104958cdb33a1130360b832600d6746b /drivers/vhost
parent926ccfef82413623ae0e5c3a32d0cad2b9f33e96 (diff)
downloadblackbird-op-linux-8166ea07cb89208f6beb9aa6aed554250f150cc8.tar.gz
blackbird-op-linux-8166ea07cb89208f6beb9aa6aed554250f150cc8.zip
alpha: 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> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud