Re: [x86] BUG()/BUG_ON() macros cannot be disabled

From: Alexander Stein
Date: Tue Sep 25 2018 - 08:31:13 EST


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