drivers/usb/gadget/udc: Fix spelling typo in comments(reqest->request)
authorliyouhong <liyouhong@kylinos.cn>
Thu, 21 Dec 2023 02:34:25 +0000 (10:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Jan 2024 13:41:15 +0000 (14:41 +0100)
Fix spelling typo in comments.

Reported-by: k2ci <kernel-bot@kylinos.cn>
Signed-off-by: liyouhong <liyouhong@kylinos.cn>
Link: https://lore.kernel.org/r/20231221023425.1316397-1-liyouhong@kylinos.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/fsl_udc_core.c
drivers/usb/gadget/udc/mv_udc_core.c

index 535b6e79a198e9a8ccb7aee83f87086c54c363a7..e8042c158f6dcd4d65858238ff36c8acd9a1c68d 100644 (file)
@@ -1360,7 +1360,7 @@ static void ch9getstatus(struct fsl_udc *udc, u8 request_type, u16 value,
        udc->ep0_dir = USB_DIR_IN;
        /* Borrow the per device status_req */
        req = udc->status_req;
-       /* Fill in the reqest structure */
+       /* Fill in the request structure */
        *((u16 *) req->req.buf) = cpu_to_le16(tmp);
 
        req->ep = ep;
index d888dcda2bc86c6c39ef919f07e70d0554bad1a0..78308b64955dd1e42332d40913ae55026ee27ef0 100644 (file)
@@ -1451,7 +1451,7 @@ udc_prime_status(struct mv_udc *udc, u8 direction, u16 status, bool empty)
 
        req = udc->status_req;
 
-       /* fill in the reqest structure */
+       /* fill in the request structure */
        if (empty == false) {
                *((u16 *) req->req.buf) = cpu_to_le16(status);
                req->req.length = 2;