Re: [PATCH v2 4/5] bug: Use a common definition of BUG_ON regardless of CONFIG_BUG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux