Commit efad798b9f01300565f65058b153250cc49d58f2

Authored by Paulius Zaleckas
Committed by Adrian Bunk
1 parent 0cadfc0953

Spelling fixes: lenght->length

Signed-off-by: Paulius Zaleckas <pauliusz@yahoo.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>

Showing 25 changed files with 30 additions and 30 deletions Side-by-side Diff

arch/parisc/kernel/signal.c
... ... @@ -333,7 +333,7 @@
333 333 flush_user_icache_range((unsigned long) &frame->tramp[0],
334 334 (unsigned long) &frame->tramp[TRAMP_SIZE]);
335 335  
336   - /* TRAMP Words 0-4, Lenght 5 = SIGRESTARTBLOCK_TRAMP
  336 + /* TRAMP Words 0-4, Length 5 = SIGRESTARTBLOCK_TRAMP
337 337 * TRAMP Words 5-9, Length 4 = SIGRETURN_TRAMP
338 338 * So the SIGRETURN_TRAMP is at the end of SIGRESTARTBLOCK_TRAMP
339 339 */
arch/sparc/kernel/ioport.c
... ... @@ -305,7 +305,7 @@
305 305 struct resource *res;
306 306 int order;
307 307  
308   - /* XXX why are some lenghts signed, others unsigned? */
  308 + /* XXX why are some lengths signed, others unsigned? */
309 309 if (len <= 0) {
310 310 return NULL;
311 311 }
... ... @@ -393,7 +393,7 @@
393 393 */
394 394 dma_addr_t sbus_map_single(struct sbus_dev *sdev, void *va, size_t len, int direction)
395 395 {
396   - /* XXX why are some lenghts signed, others unsigned? */
  396 + /* XXX why are some lengths signed, others unsigned? */
397 397 if (len <= 0) {
398 398 return 0;
399 399 }
drivers/ide/ide-timing.h
... ... @@ -199,7 +199,7 @@
199 199 }
200 200  
201 201 /*
202   - * Lenghten active & recovery time so that cycle time is correct.
  202 + * Lengthen active & recovery time so that cycle time is correct.
203 203 */
204 204  
205 205 if (t->act8b + t->rec8b < t->cyc8b) {
drivers/isdn/hardware/eicon/message.c
... ... @@ -4941,7 +4941,7 @@
4941 4941 /* b = IE1 */
4942 4942 /* S = IE1 length + cont. */
4943 4943 /* b = IE2 */
4944   - /* S = IE2 lenght + cont. */
  4944 + /* S = IE2 length + cont. */
4945 4945 sendf(plci->appl,
4946 4946 _MANUFACTURER_I,
4947 4947 Id,
drivers/isdn/hysdn/hycapi.c
... ... @@ -541,7 +541,7 @@
541 541 }
542 542 ctrl = &cinfo->capi_ctrl;
543 543 if(len < CAPI_MSG_BASELEN) {
544   - printk(KERN_ERR "HYSDN Card%d: invalid CAPI-message, lenght %d!\n",
  544 + printk(KERN_ERR "HYSDN Card%d: invalid CAPI-message, length %d!\n",
545 545 card->myid, len);
546 546 return;
547 547 }
drivers/macintosh/smu.c
... ... @@ -179,7 +179,7 @@
179 179 /* CPU might have brought back the cache line, so we need
180 180 * to flush again before peeking at the SMU response. We
181 181 * flush the entire buffer for now as we haven't read the
182   - * reply lenght (it's only 2 cache lines anyway)
  182 + * reply length (it's only 2 cache lines anyway)
183 183 */
184 184 faddr = (unsigned long)smu->cmd_buf;
185 185 flush_inval_dcache_range(faddr, faddr + 256);
drivers/media/video/pwc/pwc-if.c
... ... @@ -542,7 +542,7 @@
542 542 }
543 543  
544 544 if (pdev->read_frame != NULL) {
545   - /* Decompression is a lenghty process, so it's outside of the lock.
  545 + /* Decompression is a lengthy process, so it's outside of the lock.
546 546 This gives the isoc_handler the opportunity to fill more frames
547 547 in the mean time.
548 548 */
drivers/message/fusion/lsi/mpi_log_sas.h
... ... @@ -162,7 +162,7 @@
162 162 #define PL_LOGINFO_SUB_CODE_FRAME_XFER_ERROR (0x00000400) /* Bits 0-3 encode Transport Status Register (offset 0x08) */
163 163 /* Bit 0 is Status Bit 0: FrameXferErr */
164 164 /* Bit 1 & 2 are Status Bits 16 and 17: FrameXmitErrStatus */
165   - /* Bit 3 is Status Bit 18 WriteDataLenghtGTDataLengthErr */
  165 + /* Bit 3 is Status Bit 18 WriteDataLengthGTDataLengthErr */
166 166  
167 167 #define PL_LOGINFO_SUB_CODE_TX_FM_CONNECTED_LOW (0x00000500)
168 168 #define PL_LOGINFO_SUB_CODE_SATA_NON_NCQ_RW_ERR_BIT_SET (0x00000600)
drivers/mtd/nftlmount.c
... ... @@ -429,7 +429,7 @@
429 429 }
430 430 }
431 431  
432   -/* calc_chain_lenght: Walk through a Virtual Unit Chain and estimate chain length */
  432 +/* calc_chain_length: Walk through a Virtual Unit Chain and estimate chain length */
433 433 static int calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block)
434 434 {
435 435 unsigned int length = 0, block = first_block;
drivers/net/irda/ali-ircc.h
... ... @@ -173,13 +173,13 @@
173 173  
174 174 struct frame_cb {
175 175 void *start; /* Start of frame in DMA mem */
176   - int len; /* Lenght of frame in DMA mem */
  176 + int len; /* Length of frame in DMA mem */
177 177 };
178 178  
179 179 struct tx_fifo {
180 180 struct frame_cb queue[MAX_TX_WINDOW]; /* Info about frames in queue */
181 181 int ptr; /* Currently being sent */
182   - int len; /* Lenght of queue */
  182 + int len; /* Length of queue */
183 183 int free; /* Next free slot */
184 184 void *tail; /* Next free start in DMA mem */
185 185 };
drivers/net/irda/nsc-ircc.h
... ... @@ -231,13 +231,13 @@
231 231  
232 232 struct frame_cb {
233 233 void *start; /* Start of frame in DMA mem */
234   - int len; /* Lenght of frame in DMA mem */
  234 + int len; /* Length of frame in DMA mem */
235 235 };
236 236  
237 237 struct tx_fifo {
238 238 struct frame_cb queue[MAX_TX_WINDOW]; /* Info about frames in queue */
239 239 int ptr; /* Currently being sent */
240   - int len; /* Lenght of queue */
  240 + int len; /* Length of queue */
241 241 int free; /* Next free slot */
242 242 void *tail; /* Next free start in DMA mem */
243 243 };
drivers/net/irda/via-ircc.h
... ... @@ -54,13 +54,13 @@
54 54  
55 55 struct frame_cb {
56 56 void *start; /* Start of frame in DMA mem */
57   - int len; /* Lenght of frame in DMA mem */
  57 + int len; /* Length of frame in DMA mem */
58 58 };
59 59  
60 60 struct tx_fifo {
61 61 struct frame_cb queue[MAX_TX_WINDOW + 2]; /* Info about frames in queue */
62 62 int ptr; /* Currently being sent */
63   - int len; /* Lenght of queue */
  63 + int len; /* Length of queue */
64 64 int free; /* Next free slot */
65 65 void *tail; /* Next free start in DMA mem */
66 66 };
drivers/net/skfp/ess.c
... ... @@ -598,7 +598,7 @@
598 598 req->cmd.sba_cmd = REQUEST_ALLOCATION ;
599 599  
600 600 /*
601   - * set the parameter type and parameter lenght of all used
  601 + * set the parameter type and parameter length of all used
602 602 * parameters
603 603 */
604 604  
drivers/net/skfp/fplustm.c
... ... @@ -398,7 +398,7 @@
398 398 /* u_long td; transmit descriptor */
399 399 /* struct fddi_mac *mac; mac frame pointer */
400 400 /* unsigned off; start address within buffer memory */
401   -/* int len ; lenght of the frame including the FC */
  401 +/* int len ; length of the frame including the FC */
402 402 {
403 403 int i ;
404 404 u_int *p ;
drivers/net/skfp/hwmtm.c
... ... @@ -1185,7 +1185,7 @@
1185 1185  
1186 1186 DB_RX("frame length = %d",len,0,4) ;
1187 1187 /*
1188   - * check the frame_lenght and all error flags
  1188 + * check the frame_length and all error flags
1189 1189 */
1190 1190 if (rfsw & (RX_MSRABT|RX_FS_E|RX_FS_CRC|RX_FS_IMPL)){
1191 1191 if (rfsw & RD_S_MSRABT) {
drivers/net/wan/cycx_drv.c
... ... @@ -322,7 +322,7 @@
322 322 void __iomem *pt_boot_cmd = addr + CMD_OFFSET;
323 323 u32 i;
324 324  
325   - /* boot buffer lenght */
  325 + /* boot buffer length */
326 326 writew(CFM_LOAD_BUFSZ, pt_boot_cmd + sizeof(u16));
327 327 writew(GEN_DEFPAR, pt_boot_cmd);
328 328  
... ... @@ -353,7 +353,7 @@
353 353 void __iomem *pt_boot_cmd = addr + CMD_OFFSET;
354 354 u32 i;
355 355  
356   - /* boot buffer lenght */
  356 + /* boot buffer length */
357 357 writew(CFM_LOAD_BUFSZ, pt_boot_cmd + sizeof(u16));
358 358 writew(GEN_DEFPAR, pt_boot_cmd);
359 359  
drivers/net/wireless/libertas/scan.c
... ... @@ -1473,7 +1473,7 @@
1473 1473 * Called via lbs_prepare_and_send_command(priv, CMD_802_11_SCAN, ...)
1474 1474 * from cmd.c
1475 1475 *
1476   - * Sends a fixed lenght data part (specifying the BSS type and BSSID filters)
  1476 + * Sends a fixed length data part (specifying the BSS type and BSSID filters)
1477 1477 * as well as a variable number/length of TLVs to the firmware.
1478 1478 *
1479 1479 * @param priv A pointer to struct lbs_private structure
drivers/parport/probe.c
... ... @@ -163,7 +163,7 @@
163 163 idlens[1] = idlens[0]+2;
164 164 if (belen != lelen) {
165 165 int off = 2;
166   - /* Don't try lenghts of 0x100 and 0x200 as 1 and 2 */
  166 + /* Don't try lengths of 0x100 and 0x200 as 1 and 2 */
167 167 if (idlens[0] <= 2)
168 168 off = 0;
169 169 idlens[off] = max(belen, lelen);
drivers/spi/spi_imx.c
... ... @@ -157,7 +157,7 @@
157 157 #define SPI_FIFO_BYTE_WIDTH (2)
158 158 #define SPI_FIFO_OVERFLOW_MARGIN (2)
159 159  
160   -/* DMA burst lenght for half full/empty request trigger */
  160 +/* DMA burst length for half full/empty request trigger */
161 161 #define SPI_DMA_BLR (SPI_FIFO_DEPTH * SPI_FIFO_BYTE_WIDTH / 2)
162 162  
163 163 /* Dummy char output to achieve reads.
fs/befs/datastream.c
... ... @@ -236,7 +236,7 @@
236 236 as in the indirect region code).
237 237  
238 238 When/if blockno is found, if blockno is inside of a block
239   - run as stored on disk, we offset the start and lenght members
  239 + run as stored on disk, we offset the start and length members
240 240 of the block run, so that blockno is the start and len is
241 241 still valid (the run ends in the same place).
242 242  
... ... @@ -3965,7 +3965,7 @@
3965 3965 * xtTruncate_pmap()
3966 3966 *
3967 3967 * function:
3968   - * Perform truncate to zero lenghth for deleted file, leaving the
  3968 + * Perform truncate to zero length for deleted file, leaving the
3969 3969 * the xtree and working map untouched. This allows the file to
3970 3970 * be accessed via open file handles, while the delete of the file
3971 3971 * is committed to disk.
include/linux/cycx_x25.h
... ... @@ -81,7 +81,7 @@
81 81 * @n2win - level 2 window (values: 1 thru 7)
82 82 * @n3win - level 3 window (values: 1 thru 7)
83 83 * @nvc - # of logical channels (values: 1 thru 64)
84   - * @pktlen - level 3 packet lenght - log base 2 of size
  84 + * @pktlen - level 3 packet length - log base 2 of size
85 85 * @locaddr - my address
86 86 * @remaddr - remote address
87 87 * @t1 - time, in seconds
include/linux/hdreg.h
... ... @@ -364,7 +364,7 @@
364 364 #define SETFEATURES_EN_RLA 0xAA /* Enable read look-ahead feature */
365 365 #define SETFEATURES_PREFETCH 0xAB /* Sets drive prefetch value */
366 366 #define SETFEATURES_EN_REST 0xAC /* ATA-1 */
367   -#define SETFEATURES_4B_RW_LONG 0xBB /* Set Lenght of 4 bytes */
  367 +#define SETFEATURES_4B_RW_LONG 0xBB /* Set Length of 4 bytes */
368 368 #define SETFEATURES_DIS_AAM 0xC2 /* Disable Automatic Acoustic Management */
369 369 #define SETFEATURES_EN_RPOD 0xCC /* Enable reverting to power on defaults */
370 370 #define SETFEATURES_DIS_RI 0xDD /* Disable release interrupt ATAPI */
include/linux/reiserfs_fs_sb.h
... ... @@ -185,7 +185,7 @@
185 185 unsigned long j_trans_id;
186 186 unsigned long j_mount_id;
187 187 unsigned long j_start; /* start of current waiting commit (index into j_ap_blocks) */
188   - unsigned long j_len; /* lenght of current waiting commit */
  188 + unsigned long j_len; /* length of current waiting commit */
189 189 unsigned long j_len_alloc; /* number of buffers requested by journal_begin() */
190 190 atomic_t j_wcount; /* count of writers for current commit */
191 191 unsigned long j_bcount; /* batch count. allows turning X transactions into 1 */
include/linux/wireless.h
... ... @@ -1079,7 +1079,7 @@
1079 1079 */
1080 1080 struct iw_event
1081 1081 {
1082   - __u16 len; /* Real lenght of this stuff */
  1082 + __u16 len; /* Real length of this stuff */
1083 1083 __u16 cmd; /* Wireless IOCTL */
1084 1084 union iwreq_data u; /* IOCTL fixed payload */
1085 1085 };