include/asm-generic/bitops/__fls.h:30:21: warning: left shift count >= width of type [-Wshift-count-overflow]
if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
^~
include/asm-generic/bitops/__fls.h:34:21: warning: left shift count >= width of type [-Wshift-count-overflow]
if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
^~
include/asm-generic/bitops/__fls.h:38:21: warning: left shift count >= width of type [-Wshift-count-overflow]
if (!(word & (~0ul << (BITS_PER_LONG-1))))
^~
In file included from include/common.h:52:0,
from arch/arm/cpu/armv8/hisilicon/pinmux.c:7:
include/dm/of.h: At top level:
./arch/arm/include/asm/global_data.h:110:58: error: invalid register name for ‘gd’
#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
^
include/dm/of.h:86:1: note: in expansion of macro ‘DECLARE_GLOBAL_DATA_PTR’
DECLARE_GLOBAL_DATA_PTR;
^~~~~~~~~~~~~~~~~~~~~~~
scripts/Makefile.build:278: recipe for target 'arch/arm/cpu/armv8/hisilicon/pinmux.o' failed
make[2]: *** [arch/arm/cpu/armv8/hisilicon/pinmux.o] Error 1
scripts/Makefile.build:432: recipe for target 'arch/arm/cpu/armv8/hisilicon' failed
make[1]: *** [arch/arm/cpu/armv8/hisilicon] Error 2
Makefile:1674: recipe for target 'arch/arm/cpu/armv8' failed
make: *** [arch/arm/cpu/armv8] Error 2