ALSA: asihpi: check return value of get_user()
authorKulikov Vasiliy <segooon@gmail.com>
Wed, 28 Jul 2010 16:41:56 +0000 (20:41 +0400)
committerTakashi Iwai <tiwai@suse.de>
Thu, 29 Jul 2010 10:26:28 +0000 (12:26 +0200)
commitec9d04b2a8f00b14a3df4714820cb2cda46dc4d6
treed7cf89c9f492480f78e0082ae28d9615267a283e
parentb3390ceab95601afc12213c3ec5551d3bc7b638f
ALSA: asihpi: check return value of get_user()

get_user() may fail, if so return -EFAULT.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/hpioctl.c