sound: oss: midi_synth: check get_user() return value
authorKulikov Vasiliy <segooon@gmail.com>
Wed, 28 Jul 2010 16:41:17 +0000 (20:41 +0400)
committerTakashi Iwai <tiwai@suse.de>
Thu, 29 Jul 2010 10:25:06 +0000 (12:25 +0200)
commitb3390ceab95601afc12213c3ec5551d3bc7b638f
treea9f2523442885df6e35f357bb74b9695127c3a4d
parent5157cc8113db3de60ab6320965331c63bc77003c
sound: oss: midi_synth: check get_user() return value

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/oss/midi_synth.c