diff options
author | 2015-12-24 10:24:37 +0300 | |
---|---|---|
committer | 2015-12-28 01:29:41 +0100 | |
commit | ec74765d9f592715292b8b33689a6af6db4cf5c5 (patch) | |
tree | 514b5f24b696674c1d2d4d1ef540a4158fc70042 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI / debugger: remove some unneeded conditions (diff) | |
download | wireguard-linux-ec74765d9f592715292b8b33689a6af6db4cf5c5.tar.xz wireguard-linux-ec74765d9f592715292b8b33689a6af6db4cf5c5.zip |
ACPI / debugger: copy_to_user doesn't return errors
The copy_to/from_user() functions don't return error codes, they return
the number of bytes remaining. We had intended to return -EFUALT here.
We actually have already checked access_ok() in an earlier function so
I don't think these functions will fail but let's fix it anyway.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions