forked from Minki/linux
7464b6e3a5
memblock_remove() takes a phys_addr_t, which may be narrower than 64 bits,
causing a harmless warning:
drivers/firmware/efi/arm-init.c: In function 'reserve_regions':
include/linux/kernel.h:29:20: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
#define ULLONG_MAX (~0ULL)
^
drivers/firmware/efi/arm-init.c:152:21: note: in expansion of macro 'ULLONG_MAX'
memblock_remove(0, ULLONG_MAX);
This adds an explicit typecast to avoid the warning
Fixes:
|
||
---|---|---|
.. | ||
libstub | ||
arm-init.c | ||
arm-runtime.c | ||
cper.c | ||
efi-pstore.c | ||
efi.c | ||
efivars.c | ||
esrt.c | ||
fake_mem.c | ||
Kconfig | ||
Makefile | ||
reboot.c | ||
runtime-map.c | ||
runtime-wrappers.c | ||
vars.c |