diff options
author | Guo Ren <ren_guo@c-sky.com> | 2019-04-22 14:46:44 +0800 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2019-04-22 15:55:28 +0800 |
commit | a691f3334d58b833e41d56de1b9820e687edcd78 (patch) | |
tree | a5da17a314196bf4a97eae43557754712f6d172f /scripts | |
parent | 1a23710c71bbfe2df10584afb9971b99c45e2576 (diff) | |
download | linux-stable-a691f3334d58b833e41d56de1b9820e687edcd78.tar.gz linux-stable-a691f3334d58b833e41d56de1b9820e687edcd78.tar.bz2 linux-stable-a691f3334d58b833e41d56de1b9820e687edcd78.zip |
csky/syscall_trace: Fixup return processing flow
The function tracehook_report_syscall_entry's return value is
__must_check attribute. We should add return processing flow in
ptrace.c and set the syscall number to -1 when failed just like
riscv's.
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions