linux/drivers/isdn/capi
Dan Carpenter 60a5711db6 isdn/kcapi: return -EFAULT on copy_from_user errors
copy_from_user() returns the number of bytes remaining but we should
return -EFAULT here.  The error code gets returned to the user.  Both
old_capi_manufacturer() and capi20_manufacturer() had other places
that already returned -EFAULT so this won't break anything.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-06-03 03:28:22 -07:00
..
capi.c isdn: Push down BKL into ioctl functions 2010-05-17 05:27:05 +02:00
capidrv.c CAPI: Rework controller state notifier 2010-02-16 16:01:21 -08:00
capidrv.h
capifs.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
capifs.h CAPI: Sanitize capifs API 2010-02-16 16:01:18 -08:00
capilib.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
capiutil.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
kcapi_proc.c CAPI: Rework application locking 2010-02-16 16:01:22 -08:00
kcapi.c isdn/kcapi: return -EFAULT on copy_from_user errors 2010-06-03 03:28:22 -07:00
kcapi.h CAPI: Rework locking of controller data structures 2010-02-16 16:01:22 -08:00
Kconfig CAPI: Remove experimental tag from middleware feature 2010-02-16 16:01:36 -08:00
Makefile