[PATCH] arm64: mte: Fix the stack frame size warning in mte_dump_tag_range()
Will Deacon
will at kernel.org
Mon Apr 4 03:10:44 PDT 2022
On Fri, 1 Apr 2022 16:13:56 +0100, Catalin Marinas wrote:
> With 64K page configurations, the tags array stored on the stack of the
> mte_dump_tag_range() function is 2048 bytes, triggering a compiler
> warning when CONFIG_FRAME_WARN is enabled. Switch to a kmalloc()
> allocation via mte_allocate_tag_storage().
>
>
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: mte: Fix the stack frame size warning in mte_dump_tag_range()
https://git.kernel.org/arm64/c/16decce22efa
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list