summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-06-19 15:12:51 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-20 13:36:49 -0700
commit8ea422ed02643c645c75cbf29921fdcc8638bc99 (patch)
tree4be7a96e558f55c4f4d8c614e14122582c40ce33 /net/lapb/lapb_iface.c
parent6a32943a76ec1489c497c8f1671080043686f31f (diff)
i915: return -EFAULT if copy_to_user fails
commit 9927a403ca8c97798129953fa9cbb5dc259c7cb9 upstream. copy_to_user returns the number of bytes remaining to be copied, but we want to return a negative error code here. These are returned to userspace. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions