aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorDevendra Naga <[email protected]>2012-10-27 13:23:47 -0400
committerGreg Kroah-Hartman <[email protected]>2012-10-29 14:59:39 -0700
commitb58d6021d4dbc215dc975510bb2509e66e6061be (patch)
tree6541ed2e66a5b5ddb100f215741a3578ab40aef8 /include/linux/timerqueue.h
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions