aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/lib/csum_copy.S
diff options
context:
space:
mode:
authorCatalin Marinas <[email protected]>2022-04-01 16:13:56 +0100
committerWill Deacon <[email protected]>2022-04-04 09:59:27 +0100
commit16decce22efa0813beafbc9084181e299b69a1a1 (patch)
tree6ba4c5a4c0a53b1776017006569a01ff200ddb8b /arch/sparc/lib/csum_copy.S
parenta0ab7e5bc9651d65637f50ee9c09e083919677ed (diff)
arm64: mte: Fix the stack frame size warning in mte_dump_tag_range()
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(). Signed-off-by: Catalin Marinas <[email protected]> Fixes: 6dd8b1a0b6cb ("arm64: mte: Dump the MTE tags in the core file") Reported-by: kernel test robot <[email protected]> Cc: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'arch/sparc/lib/csum_copy.S')
0 files changed, 0 insertions, 0 deletions