Re: [PATCH] let WARN_ON() output the condition

From: Jan Engelhardt
Date: Wed Dec 06 2006 - 04:16:38 EST



On Dec 6 2006 10:07, Ingo Molnar wrote:
>
>i'll probably ack such a patch, it can be useful even when the line
>number is unique: if someone reports a WARN_ON() from an old kernel i
>dont have to dig up the exact source but can see it right from the
>condition what happened. Useful redundancy in bug output can be quite
>useful at times. Please post it and we'll see whether it's acceptable.
>

Or just make it a compile-time decision, so those who do not want the 5k
overhead do not get it.


-`J'
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/