From: John Blackwood Date: Tue, 28 Sep 2010 22:03:11 +0000 (-0400) Subject: perf: Fix incorrect copy_from_user() usage X-Git-Tag: v2.6.36-rc8~6^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad0cf3478de8677f720ee06393b3147819568d6a;p=pandora-kernel.git 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 Signed-off-by: Joe Korty Acked-by: Peter Zijlstra LKML-Reference: <20100928220311.GA18145@tsunami.ccur.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed