mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
![]() This issue was found with Clang compiler: lib/xlat_tables_v2/aarch32/xlat_tables_arch.c:206:34: error: result of comparison of constant 4294967296 with expression of type 'uintptr_t' (aka 'unsigned long') is always true [-Werror,-Wtautological-constant-out-of-range-compare] assert(virtual_addr_space_size <= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ On AARCH32, MAX_VIRT_ADDR_SPACE_SIZE is defined as 1 << 32, and a 32 bit uintptr_t is always lower. Just remove the assert line. Change-Id: Iec2c05290cede6e9fedbbf7b7dff2118bd1f9b16 Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> |
||
---|---|---|
.. | ||
aarch32 | ||
aarch64 | ||
ro_xlat_tables.mk | ||
xlat_tables.mk | ||
xlat_tables_context.c | ||
xlat_tables_core.c | ||
xlat_tables_private.h | ||
xlat_tables_utils.c |