summaryrefslogtreecommitdiffstats
path: root/fs/splice.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-12-10 12:06:25 +0300
committerHelge Deller <deller@gmx.de>2016-12-12 22:29:49 +0100
commit82cbd568bc5aa4c70f2a694f169d39ddef3b1aba (patch)
tree43ab29e0d4c9809724600db8b7dc0033c84fb52f /fs/splice.c
parent637250cc8f5e2bfc5c3a96802d1d96b4987a1d62 (diff)
downloadop-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
OpenPOWER on IntegriCloud