Kevin McKinney d3a21c3c4b Staging: bcm: Alter return value for copy_to/from_user() to "return -EFAULT" when an error occurs.
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>
2011-12-08 12:42:16 -08:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-01 12:37:05 -04:00
2011-06-28 14:54:17 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-01 09:50:16 -04:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-01 09:53:58 -04:00
2010-10-29 20:44:57 -07:00
2011-06-28 14:54:17 -07:00
2011-06-28 14:54:17 -07:00
2010-11-01 14:06:24 -04:00
2011-03-31 11:26:23 -03:00
2010-11-01 14:18:16 -04:00