[U-Boot] [U-Boot, v2, 6/8] bug.h: sync BUILD_BUG stuff with Linux 4.13

Tom Rini trini at konsulko.com
Thu Oct 5 21:52:18 UTC 2017


On Sat, Sep 16, 2017 at 02:10:44PM +0900, Masahiro Yamada wrote:

> As commit 84b8bf6d5d2a ("bug.h: move BUILD_BUG_* defines to
> include/linux/bug.h") noted, include/linux/bug.h was locally
> modified for U-Boot because the name conflict of error() caused
> build errors at that time.
> 
> Now error() is gone, so we can fully sync BUILD_BUG* with Linux.
> These macros are just compile-time utilities.  Nothing depends on
> platform code, so it should make sense to simply copy Linux's ones.
> 
> Please note Linux split BUILD_BUG stuff out into <linux/build_bug.h>
> by commit bc6245e5efd7.  Let's follow it.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171005/77a683f7/attachment.sig>


More information about the U-Boot mailing list