summaryrefslogtreecommitdiff
path: root/arch/metag/boot
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 /arch/metag/boot
parent637250cc8f5e2bfc5c3a96802d1d96b4987a1d62 (diff)
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 'arch/metag/boot')
0 files changed, 0 insertions, 0 deletions