Re: [PATCH] m68k: Fix ndelay() macro

From: Philippe De Muyter
Date: Fri Oct 28 2016 - 17:12:00 EST


On Fri, Oct 28, 2016 at 05:12:28PM +0200, Boris Brezillon wrote:
> The current ndelay() macro definition has an extra semi-colon at the
> end of the line thus leading to a compilation error when ndelay is used
> in a conditional block with curly braces like this one:

without curly braces

>
> if (cond)
> ndelay(t);
> else
> ...
>

Philippe

--
Philippe De Muyter +32 2 6101532 Macq SA rue de l'Aeronef 2 B-1140 Bruxelles