From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Stein Subject: Re: [x86] BUG()/BUG_ON() macros cannot be disabled Date: Tue, 25 Sep 2018 14:31:05 +0200 Message-ID: <6262522.aGb77nX7K0@ws-140106> References: <9516e4b3-f9f2-b150-f019-8b1ef465efb3@tu-dortmund.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Arnd Bergmann Cc: alexander.lochmann@tu-dortmund.de, linux-arch , Linux Kernel Mailing List List-Id: linux-arch.vger.kernel.org Hello Arnd, On Tuesday, September 25, 2018, 2:06:38 PM CEST Arnd Bergmann wrote: > We don't really want an empty macro any more, this was used in > the past, but causes compile-time warnings and undefined behavior > for no good reason. Can you elaborate or point me to some other discussion about that undefined behavior? Best regards, Alexander From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from webbox1416.server-home.net ([77.236.96.61]:43169 "EHLO webbox1416.server-home.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728289AbeIYSps (ORCPT ); Tue, 25 Sep 2018 14:45:48 -0400 From: Alexander Stein Subject: Re: [x86] BUG()/BUG_ON() macros cannot be disabled Date: Tue, 25 Sep 2018 14:31:05 +0200 Message-ID: <6262522.aGb77nX7K0@ws-140106> In-Reply-To: References: <9516e4b3-f9f2-b150-f019-8b1ef465efb3@tu-dortmund.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-arch-owner@vger.kernel.org List-ID: To: Arnd Bergmann Cc: alexander.lochmann@tu-dortmund.de, linux-arch , Linux Kernel Mailing List Message-ID: <20180925123105.Fr1-sxelPzeAx8U2GUz-FMg3Eawm6ztSKiBYiidEPoI@z> Hello Arnd, On Tuesday, September 25, 2018, 2:06:38 PM CEST Arnd Bergmann wrote: > We don't really want an empty macro any more, this was used in > the past, but causes compile-time warnings and undefined behavior > for no good reason. Can you elaborate or point me to some other discussion about that undefined behavior? Best regards, Alexander