summaryrefslogtreecommitdiffstats
path: root/sound/synth
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-08-26 16:13:23 +0200
committerChristoffer Dall <christoffer.dall@linaro.org>2014-08-27 22:49:45 +0200
commitbd218bce92d3868ba4fe5e9e3eb8199d2aa614af (patch)
tree18c3956239fc631afa20162018c40cf2c97e9f12 /sound/synth
parentKVM: ARM/arm64: avoid returning negative error code as bool (diff)
downloadlinux-bd218bce92d3868ba4fe5e9e3eb8199d2aa614af.tar.xz
linux-bd218bce92d3868ba4fe5e9e3eb8199d2aa614af.zip
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 <christoffer.dall@linaro.org> Cc: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'sound/synth')
0 files changed, 0 insertions, 0 deletions