[Cake] BUG_ON vs WARN_ON
Kevin Darbyshire-Bryant
kevin at darbyshire-bryant.me.uk
Wed Oct 5 11:24:39 EDT 2016
Hi Jonathan,
How amenable are you to changing all 4 BUG_ON instances in cake to WARN_ON?
Linus isn't a complete fan and I'm thinking that producing a stack trace
and trying to carry on is more helpful to a remote accessed, no serial
interface type device than just killing the kernel dead.
Quite possibly other bad things(tm) will happen shortly after...or maybe
there will be enough time look at dmesg for that stack trace.
Thoughts?
Kevin
More information about the Cake
mailing list