Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964861Ab2J3QoZ (ORCPT ); Tue, 30 Oct 2012 12:44:25 -0400 Received: from mail.skyhub.de ([78.46.96.112]:48832 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757514Ab2J3QoY (ORCPT ); Tue, 30 Oct 2012 12:44:24 -0400 Date: Tue, 30 Oct 2012 17:44:21 +0100 From: Borislav Petkov To: Daniel Santos 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 Subject: Re: [PATCH v4 7/9] bug.h: Fix BUILD_BUG_ON macro in __CHECKER__ Message-ID: <20121030164421.GE28499@liondog.tnic> Mail-Followup-To: Borislav Petkov , Daniel Santos , LKML , Andi Kleen , Andrea Arcangeli , Andrew Morton , Christopher Li , 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 References: <1351457648-7453-1-git-send-email-daniel.santos@pobox.com> <1351457835-7553-7-git-send-email-daniel.santos@pobox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1351457835-7553-7-git-send-email-daniel.santos@pobox.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 680 Lines: 18 On Sun, Oct 28, 2012 at 03:57:13PM -0500, danielfsantos@att.net wrote: > When __CHECKER__ is defined, we disable all of the BUILD_BUG.* macros. > However, BUILD_BUG_ON was evaluating to nothing in this case, and we > want (0) since this is a function-like macro that will be followed by a > semicolon. > > Signed-off-by: Daniel Santos Acked-by: Borislav Petkov -- Regards/Gruss, Boris. -- 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/