diff options
author | 2016-12-10 12:06:25 +0300 | |
---|---|---|
committer | 2016-12-12 22:29:49 +0100 | |
commit | 82cbd568bc5aa4c70f2a694f169d39ddef3b1aba (patch) | |
tree | 43ab29e0d4c9809724600db8b7dc0033c84fb52f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | parisc: Enhance CPU detection code on PAT machines (diff) | |
download | linux-dev-82cbd568bc5aa4c70f2a694f169d39ddef3b1aba.tar.xz linux-dev-82cbd568bc5aa4c70f2a694f169d39ddef3b1aba.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions