diff options
| author | Dan Carpenter <[email protected]> | 2010-10-15 05:44:07 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2010-10-15 15:41:36 -0700 |
| commit | 87b554a04a0d12f8ff3612b6c2e163e29a34616a (patch) | |
| tree | 0a219b85566d10724dad8f857a2c6e407e26c0b6 /tools/perf/scripts/python/bin | |
| parent | e98cb276819d4c4d6eeaf26ddf627ec8ec9d8f1e (diff) | |
Staging: intel_sst: return -EFAULT if copy_to_user() fails
copy_to_user() returns the number of bytes remaining to be copied but we
want to return an error code. And that error code is -EFAULT not -EIO.
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Alan Cox <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions