Skip to contentSkip to conversation

BUG_ON() Conversion in net/tulip/de2104x.c

PATCH Jeff Garzik 1 participant 1 message Jan 27, 2006 Kernel janitors

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

hi,

this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away

One of the if()s contains a call to de_is_running(), which seems to be safe to replace, but someone with more knownledge of the code might want to verify this...

applied 1-3 to upstream-2.6.17 branch of netdev

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