Staging: bcm: Alter return value for copy_to/from_user() to "return -EFAULT" when...
authorKevin McKinney <klmckinney1@gmail.com>
Tue, 6 Dec 2011 03:17:03 +0000 (22:17 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Dec 2011 20:42:16 +0000 (12:42 -0800)
In this clean up patch, I altered functions: copy_to/
from_user() to return -EFAULT when an error occurs.
I also replaced break statements when an error occurs
from copy_to/from_user() with direct returns of -EFAULT.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found