]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: line6: Add yet more sanity checks for invalid EPs
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Oct 2017 10:35:46 +0000 (12:35 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Oct 2017 14:59:29 +0000 (16:59 +0200)
commitdf0be5a17d3f759427892ccdc68dd17148964971
tree9d145790711b0dcdabdf2e864fea81a680bd5b4a
parent29c280e1fa807abbec0a2c6251fd71df1f74079b
ALSA: line6: Add yet more sanity checks for invalid EPs

There are a few other places calling usb_submit_urb() with the URB
composed from the fixed endpoint without validation.  For avoiding the
spurious kernel warnings, add the sanity checks to appropriate
places.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/driver.c
sound/usb/line6/midi.c