summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-10-27 13:23:47 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-29 14:59:39 -0700
commitb58d6021d4dbc215dc975510bb2509e66e6061be (patch)
tree6541ed2e66a5b5ddb100f215741a3578ab40aef8 /include
parent28c4ff643549f18a6c50df694ce4ba9975b7917f (diff)
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 <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions