--- zzzz-none-000/linux-4.4.60/arch/arm/boot/compressed/decompress.c 2017-04-08 07:53:53.000000000 +0000 +++ maple-7510-730/linux-4.4.60/arch/arm/boot/compressed/decompress.c 2021-03-17 14:36:41.000000000 +0000 @@ -46,8 +46,10 @@ #endif #ifdef CONFIG_KERNEL_XZ +#if !defined(CONFIG_KASAN) || defined(__SANITIZE_ADDRESS__) #define memmove memmove #define memcpy memcpy +#endif #include "../../../../lib/decompress_unxz.c" #endif