diff options
author | Felipe Balbi <balbi@ti.com> | 2014-10-13 15:36:16 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-03 10:01:00 -0600 |
commit | 73359cef4fcc322c96019b2a5c1e99b08f3bbb57 (patch) | |
tree | 907cc918affc33da642894726af28cc9e43e9041 /crypto/lz4hc.c | |
parent | 06a374ed13fdb7c6b2edd8cbdcf52bd1b0cc67b9 (diff) | |
download | linux-73359cef4fcc322c96019b2a5c1e99b08f3bbb57.tar.gz linux-73359cef4fcc322c96019b2a5c1e99b08f3bbb57.tar.bz2 linux-73359cef4fcc322c96019b2a5c1e99b08f3bbb57.zip |
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 <balbi@ti.com>
Diffstat (limited to 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions