aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2014-08-26 15:13:23 +0100
committerChristoffer Dall <[email protected]>2014-08-27 22:49:45 +0200
commitbd218bce92d3868ba4fe5e9e3eb8199d2aa614af (patch)
tree18c3956239fc631afa20162018c40cf2c97e9f12 /tools/perf/scripts/python/syscall-counts.py
parent18d457661fb9fa69352822ab98d39331c3d0e571 (diff)
KVM: ARM/arm64: return -EFAULT if copy_from_user fails in set_timer_reg
We currently return the number of bytes not copied if set_timer_reg fails, which is almost certainly not what userspace would like. This patch returns -EFAULT instead. Cc: Christoffer Dall <[email protected]> Cc: Marc Zyngier <[email protected]> Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions