Skip to content
Snippets Groups Projects
user avatar
Max Filippov authored
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: default avatarMax Filippov <jcmvbkbc@gmail.com>
ada770b1
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..