From: Dan Carpenter Date: Fri, 8 Oct 2010 12:56:58 +0000 (+0200) Subject: Staging: bcm: return -EFAULT on copy_to_user() errors X-Git-Tag: v2.6.37-rc1~60^2~3^2~213 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef5d2056456d63528daa762b32afa5c430635f33;p=pandora-kernel.git Staging: bcm: return -EFAULT on copy_to_user() errors bcm/InterfaceDld.c had a couple places which returned the number of bytes remaining instead of -EFAULT. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed