Re: [FUN] Re: [PATCH] Move BUG/BUG_ON/WARN_ON to asm headers

From: David D. Hagood (wowbagger@sktc.net)
Date: Sat Jun 07 2003 - 19:26:28 EST


Christophe Saout wrote:
> Hi Ingo!
>
>> On Sat, Jun 07, 2003 at 10:40:08PM +1000, Paul Mackerras wrote:
>> > +struct bug_entry *module_find_bug(unsigned long bugaddr)
>>
>> A wet dream of many driver writers has come true: A function,
>> which finds the bug in their module ;-)
>
> *The* bug? That sounds very optimistic. ;-)
>

Well, y'just gotta iterate...

struct bug_entry *x = module_find_bug(my_module);
while (x)
{
    module_fix_bug(my_module,x);
    x = module_find_bug(my_module)
}

So, who will write module_fix_bug?

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



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:34 EST