Skip to contentSkip to conversation

change if() BUG();

PATCH Stefan Richter 1 participant 1 message Jan 17, 2006 Kernel janitors

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines · Eric Sesterhenn / snakebyte

this patch changes the if() BUG(); construct in
drivers/ieee1394/cmp.c to a BUG_ON; so defining
BUG to a no-op is safe.

"if(x) ;" should work too. But BUG_ON is better. However,

Quoted 1 line

+++ linux-2.6.15-git11/drivers/ieee1394/cmp.c 2006-01-17 22:11:29.000000000 +0100

cmp.c has been deleted recently. It was an obsolete driver which was scheduled for removal.

Signature · 3 lines
Stefan Richter
-=====-=-==- ---= =--=-
http://arcgraph.de/sr/

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors