aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/Adapter.h
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-10-08 08:53:48 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-08 10:29:54 -0400
commitbf58bd66f6212d838dda4384b8cd21337b47e363 (patch)
tree489bde9df2b3c1eacf764ed681a850503e28f6cf /drivers/staging/bcm/Adapter.h
parenta1823f2ec3ffa86b7b3676bfd432b6da25298ff6 (diff)
Staging: bcm: return -EFAULT on copy_to_user() failures
There were a number of places in the bcm_char_ioctl() which returned the number of bytes remaining to be copied instead of returning -EFAULT. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/bcm/Adapter.h')
0 files changed, 0 insertions, 0 deletions