diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2023-03-16 23:00:21 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2023-03-17 16:44:28 -0700 |
commit | 1d3b7a788ca7435156809a6bd5b20c95b2370d45 (patch) | |
tree | 0fb151d66ca72f978a4fe5733da92db3659ac8a7 /arch/riscv | |
parent | eeac8ede17557680855031c6f305ece2378af326 (diff) |
xtensa: fix KASAN report for show_stack
show_stack dumps raw stack contents which may trigger an unnecessary
KASAN report. Fix it by copying stack contents to a temporary buffer
with __memcpy and then printing that buffer instead of passing stack
pointer directly to the print_hex_dump.
Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/riscv')
0 files changed, 0 insertions, 0 deletions