From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 11 May 2018 07:08:44 -0400 Subject: [U-Boot] [U-Boot, v2, 1/1] include: update log2 header from the Linux kernel In-Reply-To: <20180507201827.29669-1-xypron.glpk@gmx.de> References: <20180507201827.29669-1-xypron.glpk@gmx.de> Message-ID: <20180511110844.GU12235@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Mon, May 07, 2018 at 10:18:27PM +0200, Heinrich Schuchardt wrote: > Without the patch gcc 8 produces: > warning: ignoring attribute ‘noreturn’ because it conflicts with > attribute ‘const’ [-Wattributes] > int ____ilog2_NaN(void); > > So let's update the include from Linux kernel v4.16. > > This removes static checks of ilog2() arguments. > > Signed-off-by: Heinrich Schuchardt 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: