Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932169AbVKZPFc (ORCPT ); Sat, 26 Nov 2005 10:05:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932250AbVKZPFc (ORCPT ); Sat, 26 Nov 2005 10:05:32 -0500 Received: from gockel.physik3.uni-rostock.de ([139.30.44.16]:299 "EHLO gockel.physik3.uni-rostock.de") by vger.kernel.org with ESMTP id S932169AbVKZPFb (ORCPT ); Sat, 26 Nov 2005 10:05:31 -0500 Date: Sat, 26 Nov 2005 16:03:09 +0100 (CET) From: Tim Schmielau To: Ingo Molnar cc: john stultz , lkml , Darren Hart , Nishanth Aravamudan , Frank Sorenson , George Anzinger , Roman Zippel , Ulrich Windl , Thomas Gleixner Subject: Re: [patch] warn-on-once.patch In-Reply-To: <20051126145216.GB12999@elte.hu> Message-ID: References: <20051122013515.18537.76463.sendpatchset@cog.beaverton.ibm.com> <20051122013522.18537.97944.sendpatchset@cog.beaverton.ibm.com> <20051126145216.GB12999@elte.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 483 Lines: 18 > +#define WARN_ON_ONCE(condition) \ > +do { \ > + static int warn_once = 1; \ > + \ > + if (condition) { \ > + warn_once = 0; \ > + WARN_ON(1); \ > + } \ > +} while (0); ^ Is the semicolon intentional? Tim - 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/