summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2022-11-09 09:49:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-14 12:16:42 +0300
commit56d87959c654964699d8e5de3cd9a6c933af1897 (patch)
tree2f6f73585f7e5f09d89074a4b84dd7fa38585657 /fs
parentecb8e8b2e55f05af705ccdb544f7a23ee3c3ce1b (diff)
downloadlinux-56d87959c654964699d8e5de3cd9a6c933af1897.tar.xz
riscv: stacktrace: Fixup ftrace_graph_ret_addr retp argument
[ Upstream commit 5c3022e4a616d800cf5f4c3a981d7992179e44a1 ] The 'retp' is a pointer to the return address on the stack, so we must pass the current return address pointer as the 'retp' argument to ftrace_push_return_trace(). Not parent function's return address on the stack. Fixes: b785ec129bd9 ("riscv/ftrace: Add HAVE_FUNCTION_GRAPH_RET_ADDR_PTR support") Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Signed-off-by: Guo Ren <guoren@kernel.org> Link: https://lore.kernel.org/r/20221109064937.3643993-2-guoren@kernel.org Cc: stable@vger.kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions