Commit cc53ded272ecf8d62c9f3b48baadc5165a0b6d7b
Committed by
David S. Miller
1 parent
5e8e034cc5
Exists in
master
and in
7 other branches
[IRDA]: Spelling fixes
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 5 changed files with 10 additions and 10 deletions Side-by-side Diff
net/irda/ircomm/ircomm_param.c
... | ... | @@ -496,7 +496,7 @@ |
496 | 496 | IRDA_ASSERT(self != NULL, return -1;); |
497 | 497 | IRDA_ASSERT(self->magic == IRCOMM_TTY_MAGIC, return -1;); |
498 | 498 | |
499 | - /* Poll parameters are always of lenght 0 (just a signal) */ | |
499 | + /* Poll parameters are always of length 0 (just a signal) */ | |
500 | 500 | if (!get) { |
501 | 501 | /* Respond with DTE line settings */ |
502 | 502 | ircomm_param_request(self, IRCOMM_DTE, TRUE); |
net/irda/irlan/irlan_eth.c
... | ... | @@ -342,7 +342,7 @@ |
342 | 342 | |
343 | 343 | if (dev->flags & IFF_PROMISC) { |
344 | 344 | /* Enable promiscuous mode */ |
345 | - IRDA_WARNING("Promiscous mode not implemented by IrLAN!\n"); | |
345 | + IRDA_WARNING("Promiscuous mode not implemented by IrLAN!\n"); | |
346 | 346 | } |
347 | 347 | else if ((dev->flags & IFF_ALLMULTI) || dev->mc_count > HW_MAX_ADDRS) { |
348 | 348 | /* Disable promiscuous mode, use normal mode. */ |
net/irda/irlap_frame.c
... | ... | @@ -144,7 +144,7 @@ |
144 | 144 | frame->control = SNRM_CMD | PF_BIT; |
145 | 145 | |
146 | 146 | /* |
147 | - * If we are establishing a connection then insert QoS paramerters | |
147 | + * If we are establishing a connection then insert QoS parameters | |
148 | 148 | */ |
149 | 149 | if (qos) { |
150 | 150 | skb_put(tx_skb, 9); /* 25 left */ |
net/irda/parameters.c
... | ... | @@ -133,7 +133,7 @@ |
133 | 133 | int err; |
134 | 134 | |
135 | 135 | p.pi = pi; /* In case handler needs to know */ |
136 | - p.pl = type & PV_MASK; /* The integer type codes the lenght as well */ | |
136 | + p.pl = type & PV_MASK; /* The integer type codes the length as well */ | |
137 | 137 | p.pv.i = 0; /* Clear value */ |
138 | 138 | |
139 | 139 | /* Call handler for this parameter */ |
... | ... | @@ -142,7 +142,7 @@ |
142 | 142 | return err; |
143 | 143 | |
144 | 144 | /* |
145 | - * If parameter lenght is still 0, then (1) this is an any length | |
145 | + * If parameter length is still 0, then (1) this is an any length | |
146 | 146 | * integer, and (2) the handler function does not care which length |
147 | 147 | * we choose to use, so we pick the one the gives the fewest bytes. |
148 | 148 | */ |
149 | 149 | |
... | ... | @@ -206,11 +206,11 @@ |
206 | 206 | { |
207 | 207 | irda_param_t p; |
208 | 208 | int n = 0; |
209 | - int extract_len; /* Real lenght we extract */ | |
209 | + int extract_len; /* Real length we extract */ | |
210 | 210 | int err; |
211 | 211 | |
212 | 212 | p.pi = pi; /* In case handler needs to know */ |
213 | - p.pl = buf[1]; /* Extract lenght of value */ | |
213 | + p.pl = buf[1]; /* Extract length of value */ | |
214 | 214 | p.pv.i = 0; /* Clear value */ |
215 | 215 | extract_len = p.pl; /* Default : extract all */ |
216 | 216 | |
... | ... | @@ -297,7 +297,7 @@ |
297 | 297 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); |
298 | 298 | |
299 | 299 | p.pi = pi; /* In case handler needs to know */ |
300 | - p.pl = buf[1]; /* Extract lenght of value */ | |
300 | + p.pl = buf[1]; /* Extract length of value */ | |
301 | 301 | |
302 | 302 | IRDA_DEBUG(2, "%s(), pi=%#x, pl=%d\n", __FUNCTION__, |
303 | 303 | p.pi, p.pl); |
... | ... | @@ -339,7 +339,7 @@ |
339 | 339 | irda_param_t p; |
340 | 340 | |
341 | 341 | p.pi = pi; /* In case handler needs to know */ |
342 | - p.pl = buf[1]; /* Extract lenght of value */ | |
342 | + p.pl = buf[1]; /* Extract length of value */ | |
343 | 343 | |
344 | 344 | /* Check if buffer is long enough for parsing */ |
345 | 345 | if (len < (2+p.pl)) { |
net/irda/wrapper.c
... | ... | @@ -238,7 +238,7 @@ |
238 | 238 | skb_reserve(newskb, 1); |
239 | 239 | |
240 | 240 | if(docopy) { |
241 | - /* Copy data without CRC (lenght already checked) */ | |
241 | + /* Copy data without CRC (length already checked) */ | |
242 | 242 | skb_copy_to_linear_data(newskb, rx_buff->data, |
243 | 243 | rx_buff->len - 2); |
244 | 244 | /* Deliver this skb */ |