From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [PATCH v3 05/10] compiler{,-gcc4}.h, bug.h: Remove duplicate macros Date: Thu, 25 Oct 2012 11:26:16 +0200 Message-ID: <20121025092616.GB16601@liondog.tnic> References: <1351096132-12244-1-git-send-email-daniel.santos@pobox.com> <1351096441-12388-5-git-send-email-daniel.santos@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <1351096441-12388-5-git-send-email-daniel.santos@pobox.com> Sender: linux-kernel-owner@vger.kernel.org To: danielfsantos@att.net Cc: LKML , Andi Kleen , Andrea Arcangeli , Andrew Morton , Christopher Li , Daniel Santos , David Daney , David Howells , Joe Perches , Josh Triplett , Konstantin Khlebnikov , linux-sparse@vger.kernel.org, Michel Lespinasse , Paul Gortmaker , Pavel Pisa , Peter Zijlstra , Steven Rostedt , David Rientjes List-Id: linux-sparse@vger.kernel.org On Wed, Oct 24, 2012 at 11:33:56AM -0500, danielfsantos@att.net wrote: > __linktime_error() does the same thing as __compiletime_error() and is > only used in bug.h. Since the macro defines a function attribute that > will cause a failure at compile-time (not link-time), it makes more > sense to keep __compiletime_error(), which is also neatly mated with > __compiletime_warning(). > > Signed-off-by: Daniel Santos > Acked-by: David Rientjes Acked-by: Borislav Petkov -- Regards/Gruss, Boris.