diff options
author | YueHaibing <yuehaibing@huawei.com> | 2022-03-19 14:50:31 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-03-19 13:46:06 +0100 |
commit | 46d2c20b0b10cf07a2a24b047a09195ba96c84f7 (patch) | |
tree | f4c1c44688da7080c9a25df9bf3baf7b97e82aa0 /drivers/usb | |
parent | ac484005767bb50cc76e56e26fdbb25a097e5bf8 (diff) | |
download | linux-rpi-46d2c20b0b10cf07a2a24b047a09195ba96c84f7.tar.gz linux-rpi-46d2c20b0b10cf07a2a24b047a09195ba96c84f7.tar.bz2 linux-rpi-46d2c20b0b10cf07a2a24b047a09195ba96c84f7.zip |
usb: gadget: fsl_qe_udc: Add missing semicolon in qe_ep_dequeue()
drivers/usb/gadget/udc/fsl_qe_udc.c: In function ‘qe_ep_dequeue’:
drivers/usb/gadget/udc/fsl_qe_udc.c:1792:3: error: expected ‘;’ before ‘req’
req = iter;
^~~
Add missing semicolon to fix this.
Fixes: 838884110f0d ("usb: gadget: fsl: remove usage of list iterator past the loop body")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20220319065031.36928-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/udc/fsl_qe_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/fsl_qe_udc.c b/drivers/usb/gadget/udc/fsl_qe_udc.c index d80a7fe5ff62..bf745358e28e 100644 --- a/drivers/usb/gadget/udc/fsl_qe_udc.c +++ b/drivers/usb/gadget/udc/fsl_qe_udc.c @@ -1788,7 +1788,7 @@ static int qe_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) /* make sure it's actually queued on this endpoint */ list_for_each_entry(iter, &ep->queue, queue) { if (&iter->req != _req) - continue + continue; req = iter; break; } |