From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756388Ab2KVTHc (ORCPT ); Thu, 22 Nov 2012 14:07:32 -0500 Received: from mail.skyhub.de ([78.46.96.112]:40172 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755516Ab2KVTHZ (ORCPT ); Thu, 22 Nov 2012 14:07:25 -0500 Date: Thu, 22 Nov 2012 14:42:50 +0100 From: Borislav Petkov To: Daniel Santos Cc: LKML , Andi Kleen , Andrea Arcangeli , Andrew Morton , Christopher Li , David Daney , David Rientjes , Joe Perches , Josh Triplett , linux-sparse@vger.kernel.org, Michel Lespinasse , Paul Gortmaker , Peter Zijlstra , Steven Rostedt , Daniel Santos Subject: Re: [PATCH v6 6/9] bug.h: Prevent double evaulation of in BUILD_BUG_ON Message-ID: <20121122134250.GC17147@x1.alien8.de> Mail-Followup-To: Borislav Petkov , Daniel Santos , LKML , Andi Kleen , Andrea Arcangeli , Andrew Morton , Christopher Li , David Daney , David Rientjes , Joe Perches , Josh Triplett , linux-sparse@vger.kernel.org, Michel Lespinasse , Paul Gortmaker , Peter Zijlstra , Steven Rostedt References: <1353444132-6809-1-git-send-email-daniel.santos@pobox.com> <1353445507-7233-6-git-send-email-daniel.santos@pobox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1353445507-7233-6-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 On Tue, Nov 20, 2012 at 03:05:04PM -0600, danielfsantos@att.net wrote: > When calling BUILD_BUG_ON in an optimized build using gcc 4.3 and later, > the condition will be evaulated twice, possibily with side-effects. > This patch eliminates that error. > > Signed-off-by: Daniel Santos Acked-by: Borislav Petkov -- Regards/Gruss, Boris.