From: Tom Rini Date: Mon, 25 Jan 2016 16:30:00 -0500 Subject: [U-Boot] [U-Boot, v2] bug.h: move BUILD_BUG_* defines to include/linux/bug.h In-Reply-To: <1453645668-3432-1-git-send-email-yamada.masahiro@socionext.com> References: <1453645668-3432-1-git-send-email-yamada.masahiro@socionext.com> Message-ID: <20160125213000.GJ3359@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 Sun, Jan 24, 2016 at 11:27:48PM +0900, Masahiro Yamada wrote: > BUILD_BUG_* macros have been defined in several headers. It would > be nice to collect them in include/linux/bug.h like Linux. > > This commit is cherry-picking useful macros from include/linux/bug.h > of Linux 4.4. > > I did not import BUILD_BUG_ON_MSG() because it would not work if it > is used with include/common.h in U-Boot. I'd like to postpone it > until the root cause (the "error()" macro in include/common.h causes > the name conflict with "__attribute__((error()))") is fixed. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: