Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762024AbcJ1VL5 (ORCPT ); Fri, 28 Oct 2016 17:11:57 -0400 Received: from smtp2.macqel.be ([109.135.2.61]:62497 "EHLO smtp2.macqel.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761976AbcJ1VLz (ORCPT ); Fri, 28 Oct 2016 17:11:55 -0400 X-Greylist: delayed 495 seconds by postgrey-1.27 at vger.kernel.org; Fri, 28 Oct 2016 17:11:55 EDT Date: Fri, 28 Oct 2016 23:03:35 +0200 From: Philippe De Muyter To: Boris Brezillon Cc: Geert Uytterhoeven , linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] m68k: Fix ndelay() macro Message-ID: <20161028210335.GA3940@frolo.macqel> References: <1477667548-740-1-git-send-email-boris.brezillon@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1477667548-740-1-git-send-email-boris.brezillon@free-electrons.com> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 433 Lines: 18 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