lkml.org 
[lkml]   [2014]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2 4/5] bug: Use a common definition of BUG_ON regardless of CONFIG_BUG
Date
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>


\
 
 \ /
  Last update: 2014-02-26 17:02    [W:0.140 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site