]> git.dujemihanovic.xyz Git - u-boot.git/commit
include: update log2 header from the Linux kernel
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 7 May 2018 20:18:27 +0000 (22:18 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 11 May 2018 00:38:34 +0000 (20:38 -0400)
commit4a8e72954e11f2c2c37ee138b88a1d9362dba4da
treecb75f0d690e601d07c241d592b936aa5b2708b11
parent23c648982b88725f9e2bab4294a7ca8ea368e3bc
include: update log2 header from the Linux kernel

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 <xypron.glpk@gmx.de>
include/linux/log2.h