staging: rtl8712: check copy_from_user return value
authorXiaochen Wang <wangxiaochen0@gmail.com>
Sun, 6 Mar 2011 14:24:14 +0000 (22:24 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Mar 2011 21:46:38 +0000 (13:46 -0800)
commitcd92274093876c57fa4de0f219a552911ef9adc6
tree5d34e59fbe5112dfe2a0107c77b6d7bc996c6ccb
parent9603ff50b5d56e6ee64b10116ff640320732f9c8
staging: rtl8712: check copy_from_user return value

Description:return -EFAULT if copy_to_user() fails

Signed-off-by: Xiaochen Wang <wangxiaochen0@gmail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8712/rtl871x_ioctl_linux.c