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

net: usb: Fix spelling mistakes

wierdness ==> weirdness
multicat ==> multicast
limite ==> limit
adddress ==> address
operater ==> operator
intial ==> initial
smaler ==> smaller
Communcation ==> Communication
funcitons ==> functions
everytime ==> every time
Neigbor ==> Neighbor
performace ==> performance

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Zheng Yongjun and committed by
David S. Miller
f62c4f38 e9a0bf6d

+13 -13
+1 -1
drivers/net/usb/cdc_ether.c
··· 217 217 goto bad_desc; 218 218 } 219 219 skip: 220 - /* Communcation class functions with bmCapabilities are not 220 + /* Communication class functions with bmCapabilities are not 221 221 * RNDIS. But some Wireless class RNDIS functions use 222 222 * bmCapabilities for their own purpose. The failsafe is 223 223 * therefore applied only to Communication class RNDIS
+3 -3
drivers/net/usb/cdc_mbim.c
··· 301 301 return NULL; 302 302 } 303 303 304 - /* Some devices are known to send Neigbor Solicitation messages and 305 - * require Neigbor Advertisement replies. The IPv6 core will not 304 + /* Some devices are known to send Neighbor Solicitation messages and 305 + * require Neighbor Advertisement replies. The IPv6 core will not 306 306 * respond since IFF_NOARP is set, so we must handle them ourselves. 307 307 */ 308 308 static void do_neigh_solicit(struct usbnet *dev, u8 *buf, u16 tci) ··· 589 589 * 590 590 * Note: The current implementation of this feature restricts each NTB 591 591 * to a single NDP, implying that multiplexed sessions cannot share an 592 - * NTB. This might affect performace for multiplexed sessions. 592 + * NTB. This might affect performance for multiplexed sessions. 593 593 */ 594 594 static const struct driver_info cdc_mbim_info_ndp_to_end = { 595 595 .description = "CDC MBIM",
+2 -2
drivers/net/usb/cdc_ncm.c
··· 640 640 /* set MTU to max supported by the device if necessary */ 641 641 dev->net->mtu = min_t(int, dev->net->mtu, ctx->max_datagram_size - cdc_ncm_eth_hlen(dev)); 642 642 643 - /* do not exceed operater preferred MTU */ 643 + /* do not exceed operator preferred MTU */ 644 644 if (ctx->mbim_extended_desc) { 645 645 mbim_mtu = le16_to_cpu(ctx->mbim_extended_desc->wMTU); 646 646 if (mbim_mtu != 0 && mbim_mtu < dev->net->mtu) ··· 697 697 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; 698 698 u32 def_rx, def_tx; 699 699 700 - /* be conservative when selecting intial buffer size to 700 + /* be conservative when selecting initial buffer size to 701 701 * increase the number of hosts this will work for 702 702 */ 703 703 def_rx = min_t(u32, CDC_NCM_NTB_DEF_SIZE_RX,
+1 -1
drivers/net/usb/int51x1.c
··· 61 61 int need_tail = 0; 62 62 __le16 *len; 63 63 64 - /* if packet and our header is smaler than 64 pad to 64 (+ ZLP) */ 64 + /* if packet and our header is smaller than 64 pad to 64 (+ ZLP) */ 65 65 if ((pack_with_header_len) < dev->maxpacket) 66 66 need_tail = dev->maxpacket - pack_with_header_len + 1; 67 67 /*
+1 -1
drivers/net/usb/lan78xx.c
··· 298 298 struct lan78xx_priv { 299 299 struct lan78xx_net *dev; 300 300 u32 rfe_ctl; 301 - u32 mchash_table[DP_SEL_VHF_HASH_LEN]; /* multicat hash table */ 301 + u32 mchash_table[DP_SEL_VHF_HASH_LEN]; /* multicast hash table */ 302 302 u32 pfilter_table[NUM_OF_MAF][2]; /* perfect filter table */ 303 303 u32 vlan_table[DP_SEL_VHF_VLAN_LEN]; 304 304 struct mutex dataport_mutex; /* for dataport access */
+2 -2
drivers/net/usb/lg-vl600.c
··· 31 31 * Windows/Mac drivers do send a couple of such frames to the device 32 32 * during initialisation, with protocol set to 0x0906 or 0x0b06 and (what 33 33 * seems to be) a flag in the .dummy_flags. This doesn't seem necessary 34 - * for modem operation but can possibly be used for GPS or other funcitons. 34 + * for modem operation but can possibly be used for GPS or other functions. 35 35 */ 36 36 37 37 struct vl600_frame_hdr { ··· 72 72 /* ARP packets don't go through, but they're also of no use. The 73 73 * subnet has only two hosts anyway: us and the gateway / DHCP 74 74 * server (probably simulated by modem firmware or network operator) 75 - * whose address changes everytime we connect to the intarwebz and 75 + * whose address changes every time we connect to the intarwebz and 76 76 * who doesn't bother answering ARP requests either. So hardware 77 77 * addresses have no meaning, the destination and the source of every 78 78 * packet depend only on whether it is on the IN or OUT endpoint. */
+2 -2
drivers/net/usb/r8152.c
··· 2445 2445 unsigned int pkt_len, rx_frag_head_sz; 2446 2446 struct sk_buff *skb; 2447 2447 2448 - /* limite the skb numbers for rx_queue */ 2448 + /* limit the skb numbers for rx_queue */ 2449 2449 if (unlikely(skb_queue_len(&tp->rx_queue) >= 1000)) 2450 2450 break; 2451 2451 ··· 8211 8211 if (!tp) 8212 8212 return 0; 8213 8213 8214 - /* reset the MAC adddress in case of policy change */ 8214 + /* reset the MAC address in case of policy change */ 8215 8215 if (determine_ethernet_addr(tp, &sa) >= 0) { 8216 8216 rtnl_lock(); 8217 8217 dev_set_mac_address (tp->netdev, &sa, NULL);
+1 -1
drivers/net/usb/rndis_host.c
··· 324 324 * For RX we handle drivers that zero-pad to end-of-packet. 325 325 * Don't let userspace change these settings. 326 326 * 327 - * NOTE: there still seems to be wierdness here, as if we need 327 + * NOTE: there still seems to be weirdness here, as if we need 328 328 * to do some more things to make sure WinCE targets accept this. 329 329 * They default to jumbograms of 8KB or 16KB, which is absurd 330 330 * for such low data rates and which is also more than Linux