Re: [PATCH v1] usb: dwc3: Correct some typos in comments

From: Sergey Shtylyov
Date: Sun Sep 29 2024 - 05:56:00 EST


On 9/29/24 10:58, Shen Lichuan wrote:

> Fixed some confusing typos that were currently identified with codespell,
> the details are as follows:
>
> -in the code comments:
> drivers/usb/dwc3/core.c:1406: feild ==> field
> drivers/usb/dwc3/core.h:84: boundries ==> boundaries
> drivers/usb/dwc3/ep0.c:148: issueing ==> issuing
> drivers/usb/dwc3/host.c:38: temperary ==> temporary
>
> Signed-off-by: Shen Lichuan <shenlichuan@xxxxxxxx>
[...]

> diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c
> index e0533cee6870..60f7a55e1ea3 100644
> --- a/drivers/usb/dwc3/host.c
> +++ b/drivers/usb/dwc3/host.c
> @@ -35,7 +35,7 @@ static void dwc3_power_off_all_roothub_ports(struct dwc3 *dwc)
> u32 reg;
> int i;
>
> - /* xhci regs is not mapped yet, do it temperary here */
> + /* xhci regs is not mapped yet, do it temporary here */

s/is/are/. And maybe "temporarily"? :-)

> if (dwc->xhci_resources[0].start) {
> xhci_regs = ioremap(dwc->xhci_resources[0].start, DWC3_XHCI_REGS_END);
> if (!xhci_regs) {

MBR, Sergey