Searched hist:ff843c891438bafbab6c594102011cca00a906e5 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/include/kernel/ |
| H A D | linker.h | ff843c891438bafbab6c594102011cca00a906e5 Tue Apr 11 12:19:07 UTC 2023 Jens Wiklander <jens.wiklander@linaro.org> core: linker.h: fix ASAN_MAP_PA and ASAN_SHADOW_PA
Fixes ASAN_MAP_PA and ASAN_SHADOW_PA to cast via vaddr_t to paddr_t to avoid compile errors when paddr_t is larger than a pointer, that is, with CFG_CORE_LARGE_PHYS_ADDR on 32-bit platforms.
core/include/kernel/linker.h:113:26: error: cast from pointer to integer of diff erent size [-Werror=pointer-to-int-cast] 113 | #define ASAN_MAP_PA ((paddr_t)__asan_map_start) | ^
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
|