Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1511422

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

From Philippe De Muyter <phdm@macq.eu>
Newsgroups linux.kernel
Subject Re: [PATCH] m68k: Fix ndelay() macro
Date 2016-10-28 23:20 +0200
Message-ID <sxmzv-59w-5@gated-at.bofh.it> (permalink)
References <sxh6O-1yj-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] m68k: Fix ndelay() macro Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-10-28 17:20 +0200
  Re: [PATCH] m68k: Fix ndelay() macro Geert Uytterhoeven <geert@linux-m68k.org> - 2016-10-28 18:10 +0200
  Re: [PATCH] m68k: Fix ndelay() macro Geert Uytterhoeven <geert@linux-m68k.org> - 2016-10-28 23:10 +0200
  Re: [PATCH] m68k: Fix ndelay() macro Philippe De Muyter <phdm@macq.eu> - 2016-10-28 23:20 +0200

csiph-web