--- zzzz-none-000/linux-4.4.271/arch/arm/boot/compressed/decompress.c 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/arch/arm/boot/compressed/decompress.c 2023-04-19 10:22:27.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