diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-12-10 12:06:25 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-12-12 22:29:49 +0100 |
commit | 82cbd568bc5aa4c70f2a694f169d39ddef3b1aba (patch) | |
tree | 43ab29e0d4c9809724600db8b7dc0033c84fb52f /fs/splice.c | |
parent | 637250cc8f5e2bfc5c3a96802d1d96b4987a1d62 (diff) | |
download | op-kernel-dev-82cbd568bc5aa4c70f2a694f169d39ddef3b1aba.zip op-kernel-dev-82cbd568bc5aa4c70f2a694f169d39ddef3b1aba.tar.gz |
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 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions