From d3a21c3c4bbab3d51bde0e4828cb8165d04d6399 Mon Sep 17 00:00:00 2001 From: Kevin McKinney Date: Mon, 5 Dec 2011 22:17:03 -0500 Subject: [PATCH] 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-format-patch failed