Devendra Naga b58d6021d4 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>
2012-10-29 14:59:39 -07:00
..
2012-01-30 14:00:03 -08:00
2012-01-30 14:00:03 -08:00
2012-02-10 10:09:58 -08:00
2012-01-30 14:00:03 -08:00
2012-01-30 14:00:03 -08:00