From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 5 Oct 2017 17:52:18 -0400 Subject: [U-Boot] [U-Boot, v2, 6/8] bug.h: sync BUILD_BUG stuff with Linux 4.13 In-Reply-To: <1505538646-19191-7-git-send-email-yamada.masahiro@socionext.com> References: <1505538646-19191-7-git-send-email-yamada.masahiro@socionext.com> Message-ID: <20171005215218.GN25966@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > by commit bc6245e5efd7. Let's follow it. > > Signed-off-by: Masahiro Yamada 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: