From: Kevin McKinney Date: Tue, 6 Dec 2011 03:17:03 +0000 (-0500) Subject: Staging: bcm: Alter return value for copy_to/from_user() to "return -EFAULT" when... X-Git-Tag: v3.3-rc1~152^2~101^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3a21c3c4bbab3d51bde0e4828cb8165d04d6399;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed