]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: f_midi: check for error on usb_ep_queue
authorFelipe F. Tonello <eu@felipetonello.com>
Fri, 18 Sep 2015 17:36:28 +0000 (18:36 +0100)
committerFelipe Balbi <balbi@ti.com>
Sun, 27 Sep 2015 15:54:31 +0000 (10:54 -0500)
commitf35fe4beb03d4e3203a2bd734d2253060694d98f
treebf52f90d254d9113aae2bbd9f27d5697a9baf0b2
parent2e6c72b61b9a0a7787e8cfa3fff3b34a0c2548ce
usb: gadget: f_midi: check for error on usb_ep_queue

f_midi is not checking whether there is an error on usb_ep_queue
request, ignoring potential problems, such as memory leaks.

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_midi.c