Re: [PATCH] Change some "if (x) BUG();" to "BUG_ON(x);"

2006-01-08 Thread David S. Miller
From: "Kris Katterjohn" <[EMAIL PROTECTED]> Date: Sat, 7 Jan 2006 18:49:17 -0800 > This changes some simple "if (x) BUG();" statements to "BUG_ON(x);" > > Signed-off-by: Kris Katterjohn <[EMAIL PROTECTED]> Applied, thanks Kris. - To unsubscribe from this list: send the line "unsubscribe netdev"

[PATCH] Change some "if (x) BUG();" to "BUG_ON(x);"

2006-01-07 Thread Kris Katterjohn
This changes some simple "if (x) BUG();" statements to "BUG_ON(x);" Signed-off-by: Kris Katterjohn <[EMAIL PROTECTED]> This is a diff from 2.6.15. Obviously I wasn't able to test these changes per se, but is there a reason they wouldn't work correctly? Thanks! --- x/net/core/dev.c2006-01-0