]> err.no Git - linux-2.6/commit
drivers/net: convert BUG_TRAP to generic WARN_ON
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Sat, 26 Jul 2008 04:40:45 +0000 (21:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jul 2008 04:40:45 +0000 (21:40 -0700)
commit53e5e96ec18da6f65e89f05674711e1c93d8df67
tree4e88faaf8fdbb0ffee8a7937aa8846472f6a4405
parent7d7e5a60c62e88cb8782760bb6c4d3bd1577a6c6
drivers/net: convert BUG_TRAP to generic WARN_ON

Removes legacy reinvent-the-wheel type thing. The generic
machinery integrates much better to automated debugging aids
such as kerneloops.org (and others), and is unambiguous due to
better naming. Non-intuively BUG_TRAP() is actually equal to
WARN_ON() rather than BUG_ON().

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c