From: Felipe Balbi Date: Mon, 13 Oct 2014 20:36:16 +0000 (-0500) Subject: usb: dwc3: gadget: WARN() on bogus usb_ep_queue() X-Git-Tag: omap-for-v3.19/fixes-rc1~87^2~32^2~194 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73359cef4fcc322c96019b2a5c1e99b08f3bbb57;p=pandora-kernel.git usb: dwc3: gadget: WARN() on bogus usb_ep_queue() Some gadget/function drivers might want to do improper request recycling by allocating a single request from one particular endpoint and queueing it to another completely unrelated endpoint. One such case was found with f_loopback.c. To prevent such cases from happening again, let's WARN() so we get a loud enough failure and persuade users to report errors. Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed