>       This is a bug with the definition of udelay(). Somebody tried
> to be too clever with udelay(), and the end result is that it breaks
> perfectly good and valid code.
>       Therefore, it should be reported as such on LKML, a bug in udelay().

It is a bug in the driver.

> there. For my part, I insist that the code is correct, that replacing
> an inline function by a #define is going backwards and that udelay()
> should be fixed one way or another (easy, just define __bad_udelay()
> as returning a compilation warning or an error message).

You can't #define a function to a #warning or #error in C. Language limitation

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to