commit | ad0cf3478de8677f720ee06393b3147819568d6a | [log] [tgz] |
---|---|---|
author | John Blackwood <[email protected]> | Tue Sep 28 18:03:11 2010 -0400 |
committer | Ingo Molnar <[email protected]> | Tue Oct 12 11:45:01 2010 +0200 |
tree | cd007170b0f20f724924ff53897bf534847e14c4 | |
parent | 29979aa8bd69becd94cbad59093807a417ce2a9e [diff] |
perf: Fix incorrect copy_from_user() usage perf events: repair incorrect use of copy_from_user This makes the perf_event_period() return 0 instead of -EFAULT on success. Signed-off-by: John Blackwood<[email protected]> Signed-off-by: Joe Korty <[email protected]> Acked-by: Peter Zijlstra <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>