summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-04-04 11:08:40 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-27 09:33:56 +0200
commit34419534a70a4cac7d64512e8a00638cc2a7aa91 (patch)
tree9f1b61a8ec1c553460ad9e62c7d182ea94a6c6d2 /include/linux/errqueue.h
parente15f3c34844e6fcaaf1f61f309f1778c37a4e8af (diff)
xtensa: fix return_address
commit ada770b1e74a77fff2d5f539bf6c42c25f4784db upstream. return_address returns the address that is one level higher in the call stack than requested in its argument, because level 0 corresponds to its caller's return address. Use requested level as the number of stack frames to skip. This fixes the address reported by might_sleep and friends. Cc: stable@vger.kernel.org Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions