[PATCH v2 2/4] ARC: entry: fix syscall_trace_exit argument

Vineet Gupta vgupta at kernel.org
Mon Apr 18 12:14:05 PDT 2022


On 4/14/22 01:17, Sergey Matyukevich wrote:
> From: Sergey Matyukevich<sergey.matyukevich at synopsys.com>
>
> Function syscall_trace_exit expects pointer to pt_regs. However
> r0 is also used to keep syscall return value. Restore pointer
> to pt_regs before calling syscall_trace_exit.
>
> Signed-off-by: Sergey Matyukevich<sergey.matyukevich at synopsys.com>

This is independent fix and worth stable backport, So I'll apply it to 
for-curr, rest of the pile goes for next release.

-Vineet



More information about the linux-snps-arc mailing list