aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorJulien Thierry <[email protected]>2020-10-14 08:38:00 +0100
committerJosh Poimboeuf <[email protected]>2021-01-13 18:13:09 -0600
commitfb084fde0c8106bc86df243411751c3421c07c08 (patch)
tree4fab95754e67178bb0ba365ad92ddc2123cf5842 /drivers/usb/cdns3/cdns3-trace.c
parent7c53f6b671f4aba70ff15e1b05148b10d58c2837 (diff)
objtool: Fully validate the stack frame
A valid stack frame should contain both the return address and the previous frame pointer value. On x86, the return value is placed on the stack by the calling instructions. On other architectures, the callee needs to explicitly save the return address on the stack. Add the necessary checks to verify a function properly sets up all the elements of the stack frame. Signed-off-by: Julien Thierry <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Josh Poimboeuf <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions