aboutsummaryrefslogtreecommitdiffstats
path: root/samples/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2019-04-22 14:46:44 +0800
committerGuo Ren <ren_guo@c-sky.com>2019-04-22 15:55:28 +0800
commita691f3334d58b833e41d56de1b9820e687edcd78 (patch)
treea5da17a314196bf4a97eae43557754712f6d172f /samples/git:/ssh:/git@git.zx2c4.com
parentcsky: Fixup compile warning (diff)
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 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions