* [PATCH v1] usb: atm: Correct some typos
@ 2024-09-26 7:59 Shen Lichuan
2024-10-02 6:50 ` Stanislaw Gruszka
0 siblings, 1 reply; 2+ messages in thread
From: Shen Lichuan @ 2024-09-26 7:59 UTC (permalink / raw)
To: castet.matthieu, stf_xl, gregkh, duncan.sands
Cc: linux-usb, linux-kernel, opensource.kernel, Shen Lichuan
Fixed some confusing typos that were currently identified with codespell,
the details are as follows:
drivers/usb/atm/ueagle-atm.c:811: endianes ==> endianness
drivers/usb/atm/ueagle-atm.c:1279: timming ==> timing
drivers/usb/atm/ueagle-atm.c:1975: preambule ==> preamble
drivers/usb/atm/usbatm.c:1161: alloced ==> allocated
Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
---
drivers/usb/atm/ueagle-atm.c | 6 +++---
drivers/usb/atm/usbatm.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/atm/ueagle-atm.c b/drivers/usb/atm/ueagle-atm.c
index 16703815be0c..62bfdf142aa0 100644
--- a/drivers/usb/atm/ueagle-atm.c
+++ b/drivers/usb/atm/ueagle-atm.c
@@ -808,7 +808,7 @@ static int check_dsp_e4(const u8 *dsp, int len)
if (l > len)
return 1;
- /* zero is zero regardless endianes */
+ /* zero is zero regardless endianness */
} while (blockidx->NotLastBlock);
}
@@ -1276,7 +1276,7 @@ static void uea_set_bulk_timeout(struct uea_softc *sc, u32 dsrate)
sc->stats.phy.dsrate == dsrate)
return;
- /* Original timming (1Mbit/s) from ADI (used in windows driver) */
+ /* Original timing (1Mbit/s) from ADI (used in windows driver) */
timeout = (dsrate <= 1024*1024) ? 0 : 1;
ret = uea_request(sc, UEA_SET_TIMEOUT, timeout, 0, NULL);
uea_info(INS_TO_USBDEV(sc), "setting new timeout %d%s\n",
@@ -1972,7 +1972,7 @@ static void uea_dispatch_cmv_e1(struct uea_softc *sc, struct intr_pkt *intr)
if (cmv->bDirection != E1_MODEMTOHOST)
goto bad1;
- /* FIXME : ADI930 reply wrong preambule (func = 2, sub = 2) to
+ /* FIXME : ADI930 reply wrong preamble (func = 2, sub = 2) to
* the first MEMACCESS cmv. Ignore it...
*/
if (cmv->bFunction != dsc->function) {
diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c
index 2da6615fbb6f..d1e622bb1406 100644
--- a/drivers/usb/atm/usbatm.c
+++ b/drivers/usb/atm/usbatm.c
@@ -1158,7 +1158,7 @@ int usbatm_usb_probe(struct usb_interface *intf, const struct usb_device_id *id,
if (i >= num_rcv_urbs)
list_add_tail(&urb->urb_list, &channel->list);
- vdbg(&intf->dev, "%s: alloced buffer 0x%p buf size %u urb 0x%p",
+ vdbg(&intf->dev, "%s: allocated buffer 0x%p buf size %u urb 0x%p",
__func__, urb->transfer_buffer, urb->transfer_buffer_length, urb);
}
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH v1] usb: atm: Correct some typos
2024-09-26 7:59 [PATCH v1] usb: atm: Correct some typos Shen Lichuan
@ 2024-10-02 6:50 ` Stanislaw Gruszka
0 siblings, 0 replies; 2+ messages in thread
From: Stanislaw Gruszka @ 2024-10-02 6:50 UTC (permalink / raw)
To: Shen Lichuan
Cc: castet.matthieu, gregkh, duncan.sands, linux-usb, linux-kernel,
opensource.kernel
On Thu, Sep 26, 2024 at 03:59:55PM +0800, Shen Lichuan wrote:
> Fixed some confusing typos that were currently identified with codespell,
> the details are as follows:
>
> drivers/usb/atm/ueagle-atm.c:811: endianes ==> endianness
> drivers/usb/atm/ueagle-atm.c:1279: timming ==> timing
> drivers/usb/atm/ueagle-atm.c:1975: preambule ==> preamble
> drivers/usb/atm/usbatm.c:1161: alloced ==> allocated
>
>Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
> ---
> drivers/usb/atm/ueagle-atm.c | 6 +++---
> drivers/usb/atm/usbatm.c | 2 +-
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/usb/atm/ueagle-atm.c b/drivers/usb/atm/ueagle-atm.c
> index 16703815be0c..62bfdf142aa0 100644
> --- a/drivers/usb/atm/ueagle-atm.c
> +++ b/drivers/usb/atm/ueagle-atm.c
> @@ -808,7 +808,7 @@ static int check_dsp_e4(const u8 *dsp, int len)
> if (l > len)
> return 1;
>
> - /* zero is zero regardless endianes */
> + /* zero is zero regardless endianness */
> } while (blockidx->NotLastBlock);
> }
>
> @@ -1276,7 +1276,7 @@ static void uea_set_bulk_timeout(struct uea_softc *sc, u32 dsrate)
> sc->stats.phy.dsrate == dsrate)
> return;
>
> - /* Original timming (1Mbit/s) from ADI (used in windows driver) */
> + /* Original timing (1Mbit/s) from ADI (used in windows driver) */
> timeout = (dsrate <= 1024*1024) ? 0 : 1;
> ret = uea_request(sc, UEA_SET_TIMEOUT, timeout, 0, NULL);
> uea_info(INS_TO_USBDEV(sc), "setting new timeout %d%s\n",
> @@ -1972,7 +1972,7 @@ static void uea_dispatch_cmv_e1(struct uea_softc *sc, struct intr_pkt *intr)
> if (cmv->bDirection != E1_MODEMTOHOST)
> goto bad1;
>
> - /* FIXME : ADI930 reply wrong preambule (func = 2, sub = 2) to
> + /* FIXME : ADI930 reply wrong preamble (func = 2, sub = 2) to
> * the first MEMACCESS cmv. Ignore it...
> */
> if (cmv->bFunction != dsc->function) {
> diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c
> index 2da6615fbb6f..d1e622bb1406 100644
> --- a/drivers/usb/atm/usbatm.c
> +++ b/drivers/usb/atm/usbatm.c
> @@ -1158,7 +1158,7 @@ int usbatm_usb_probe(struct usb_interface *intf, const struct usb_device_id *id,
> if (i >= num_rcv_urbs)
> list_add_tail(&urb->urb_list, &channel->list);
>
> - vdbg(&intf->dev, "%s: alloced buffer 0x%p buf size %u urb 0x%p",
> + vdbg(&intf->dev, "%s: allocated buffer 0x%p buf size %u urb 0x%p",
> __func__, urb->transfer_buffer, urb->transfer_buffer_length, urb);
> }
>
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-02 6:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-26 7:59 [PATCH v1] usb: atm: Correct some typos Shen Lichuan
2024-10-02 6:50 ` Stanislaw Gruszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox