[PATCH] arm: Add missing includes for mem_encrypt
Will Deacon
will at kernel.org
Tue Apr 29 13:27:47 PDT 2025
On Thu, 17 Apr 2025 13:26:16 -0300, Jason Gunthorpe wrote:
> Doing:
> #include <linux/mem_encrypt.h>
>
> Causes a bunch of compiler failures due to missing implicit includes that
> don't happen on x86:
>
> ../arch/arm64/include/asm/rsi_cmds.h:117:2: error: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 117 | memcpy(®s.a1, challenge, size);
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm: Add missing includes for mem_encrypt
https://git.kernel.org/arm64/c/20125324c01d
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list