staging: ath6kl: check return code of get_user and put_user
authorVasiliy Kulikov <segooon@gmail.com>
Sun, 5 Sep 2010 18:32:29 +0000 (22:32 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 5 Sep 2010 23:59:53 +0000 (16:59 -0700)
commitec53d6123bea9f69887f194b5d4294a43292120d
tree7a02163ec93c4925394ff176b7c95408cc6e5b51
parent81604d43ade6abd316444f99ddb633f2e5a3f3eb
staging: ath6kl: check return code of get_user and put_user

Function get_user may fail. Check for it.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/os/linux/ioctl.c