linux/drivers/isdn
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
..
act2000
capi isdn/kcapi: return -EFAULT on copy_from_user errors 2010-06-03 03:28:22 -07:00
divert
gigaset
hardware drivers/isdn/hardware/mISDN: Use GFP_ATOMIC when a lock is held 2010-06-01 00:26:06 -07:00
hisax
hysdn
i4l
icn
isdnloop
mISDN mISDN: remove unnecessary test on f_pos 2010-05-27 09:12:56 -07:00
pcbit
sc
Kconfig
Makefile