Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: atm: Correct some typos

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>
Link: https://lore.kernel.org/r/20240926075955.10199-1-shenlichuan@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Shen Lichuan and committed by
Greg Kroah-Hartman
5014f10c 57d7a6b9

+4 -4
+3 -3
drivers/usb/atm/ueagle-atm.c
··· 808 808 if (l > len) 809 809 return 1; 810 810 811 - /* zero is zero regardless endianes */ 811 + /* zero is zero regardless endianness */ 812 812 } while (blockidx->NotLastBlock); 813 813 } 814 814 ··· 1276 1276 sc->stats.phy.dsrate == dsrate) 1277 1277 return; 1278 1278 1279 - /* Original timming (1Mbit/s) from ADI (used in windows driver) */ 1279 + /* Original timing (1Mbit/s) from ADI (used in windows driver) */ 1280 1280 timeout = (dsrate <= 1024*1024) ? 0 : 1; 1281 1281 ret = uea_request(sc, UEA_SET_TIMEOUT, timeout, 0, NULL); 1282 1282 uea_info(INS_TO_USBDEV(sc), "setting new timeout %d%s\n", ··· 1972 1972 if (cmv->bDirection != E1_MODEMTOHOST) 1973 1973 goto bad1; 1974 1974 1975 - /* FIXME : ADI930 reply wrong preambule (func = 2, sub = 2) to 1975 + /* FIXME : ADI930 reply wrong preamble (func = 2, sub = 2) to 1976 1976 * the first MEMACCESS cmv. Ignore it... 1977 1977 */ 1978 1978 if (cmv->bFunction != dsc->function) {
+1 -1
drivers/usb/atm/usbatm.c
··· 1158 1158 if (i >= num_rcv_urbs) 1159 1159 list_add_tail(&urb->urb_list, &channel->list); 1160 1160 1161 - vdbg(&intf->dev, "%s: alloced buffer 0x%p buf size %u urb 0x%p", 1161 + vdbg(&intf->dev, "%s: allocated buffer 0x%p buf size %u urb 0x%p", 1162 1162 __func__, urb->transfer_buffer, urb->transfer_buffer_length, urb); 1163 1163 } 1164 1164