From: Devendra Naga Date: Sat, 27 Oct 2012 17:23:47 +0000 (-0400) Subject: staging: sep: return -EFAULT on copy_from_user failure X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~902 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b58d6021d4dbc215dc975510bb2509e66e6061be;p=pandora-kernel.git staging: sep: return -EFAULT on copy_from_user failure copy_from_user() returns the number of bytes remaining to be copied, and it fails if user pointer is invalid, so return -EFAULT so that the user gets a FAULT. Signed-off-by: Devendra Naga Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed