Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH v2 4/5] bug: Use a common definition of BUG_ON regardless of CONFIG_BUG | Date | Wed, 26 Feb 2014 14:26:37 +0100 |
| |
On Wednesday 26 February 2014, Josh Triplett wrote: > > include/asm-generic/bug.h defines BUG_ON to call BUG() if CONFIG_BUG=y, > or as a no-op if !CONFIG_BUG. However, BUG() is already a no-op if > !CONFIG_BUG, making this pointless. Use a common definition that always > calls BUG(). > > This does not change the compiled code at all. > > Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
| |