diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-12-10 12:06:25 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-12-13 00:29:49 +0300 |
commit | 82cbd568bc5aa4c70f2a694f169d39ddef3b1aba (patch) | |
tree | 43ab29e0d4c9809724600db8b7dc0033c84fb52f /virt/lib/Makefile | |
parent | 637250cc8f5e2bfc5c3a96802d1d96b4987a1d62 (diff) | |
download | linux-82cbd568bc5aa4c70f2a694f169d39ddef3b1aba.tar.xz |
parisc: perf: return -EFAULT on error
The copy_from_user() returns the number of bytes remaining to be copied
but we want to return -EFAULT if it's non-zero.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'virt/lib/Makefile')
0 files changed, 0 insertions, 0 deletions