···333333 flush_user_icache_range((unsigned long) &frame->tramp[0],334334 (unsigned long) &frame->tramp[TRAMP_SIZE]);335335336336- /* TRAMP Words 0-4, Lenght 5 = SIGRESTARTBLOCK_TRAMP336336+ /* TRAMP Words 0-4, Length 5 = SIGRESTARTBLOCK_TRAMP337337 * TRAMP Words 5-9, Length 4 = SIGRETURN_TRAMP338338 * So the SIGRETURN_TRAMP is at the end of SIGRESTARTBLOCK_TRAMP339339 */
+2-2
arch/sparc/kernel/ioport.c
···305305 struct resource *res;306306 int order;307307308308- /* XXX why are some lenghts signed, others unsigned? */308308+ /* XXX why are some lengths signed, others unsigned? */309309 if (len <= 0) {310310 return NULL;311311 }···393393 */394394dma_addr_t sbus_map_single(struct sbus_dev *sdev, void *va, size_t len, int direction)395395{396396- /* XXX why are some lenghts signed, others unsigned? */396396+ /* XXX why are some lengths signed, others unsigned? */397397 if (len <= 0) {398398 return 0;399399 }
+1-1
drivers/ide/ide-timing.h
···199199 }200200201201/*202202- * Lenghten active & recovery time so that cycle time is correct.202202+ * Lengthen active & recovery time so that cycle time is correct.203203 */204204205205 if (t->act8b + t->rec8b < t->cyc8b) {
···179179 /* CPU might have brought back the cache line, so we need180180 * to flush again before peeking at the SMU response. We181181 * flush the entire buffer for now as we haven't read the182182- * reply lenght (it's only 2 cache lines anyway)182182+ * reply length (it's only 2 cache lines anyway)183183 */184184 faddr = (unsigned long)smu->cmd_buf;185185 flush_inval_dcache_range(faddr, faddr + 256);
+1-1
drivers/media/video/pwc/pwc-if.c
···542542 }543543544544 if (pdev->read_frame != NULL) {545545- /* Decompression is a lenghty process, so it's outside of the lock.545545+ /* Decompression is a lengthy process, so it's outside of the lock.546546 This gives the isoc_handler the opportunity to fill more frames547547 in the mean time.548548 */
+1-1
drivers/message/fusion/lsi/mpi_log_sas.h
···162162#define PL_LOGINFO_SUB_CODE_FRAME_XFER_ERROR (0x00000400) /* Bits 0-3 encode Transport Status Register (offset 0x08) */163163 /* Bit 0 is Status Bit 0: FrameXferErr */164164 /* Bit 1 & 2 are Status Bits 16 and 17: FrameXmitErrStatus */165165- /* Bit 3 is Status Bit 18 WriteDataLenghtGTDataLengthErr */165165+ /* Bit 3 is Status Bit 18 WriteDataLengthGTDataLengthErr */166166167167#define PL_LOGINFO_SUB_CODE_TX_FM_CONNECTED_LOW (0x00000500)168168#define PL_LOGINFO_SUB_CODE_SATA_NON_NCQ_RW_ERR_BIT_SET (0x00000600)
+1-1
drivers/mtd/nftlmount.c
···429429 }430430}431431432432-/* calc_chain_lenght: Walk through a Virtual Unit Chain and estimate chain length */432432+/* calc_chain_length: Walk through a Virtual Unit Chain and estimate chain length */433433static int calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block)434434{435435 unsigned int length = 0, block = first_block;
+2-2
drivers/net/irda/ali-ircc.h
···173173174174struct frame_cb {175175 void *start; /* Start of frame in DMA mem */176176- int len; /* Lenght of frame in DMA mem */176176+ int len; /* Length of frame in DMA mem */177177};178178179179struct tx_fifo {180180 struct frame_cb queue[MAX_TX_WINDOW]; /* Info about frames in queue */181181 int ptr; /* Currently being sent */182182- int len; /* Lenght of queue */182182+ int len; /* Length of queue */183183 int free; /* Next free slot */184184 void *tail; /* Next free start in DMA mem */185185};
+2-2
drivers/net/irda/nsc-ircc.h
···231231232232struct frame_cb {233233 void *start; /* Start of frame in DMA mem */234234- int len; /* Lenght of frame in DMA mem */234234+ int len; /* Length of frame in DMA mem */235235};236236237237struct tx_fifo {238238 struct frame_cb queue[MAX_TX_WINDOW]; /* Info about frames in queue */239239 int ptr; /* Currently being sent */240240- int len; /* Lenght of queue */240240+ int len; /* Length of queue */241241 int free; /* Next free slot */242242 void *tail; /* Next free start in DMA mem */243243};
+2-2
drivers/net/irda/via-ircc.h
···54545555struct frame_cb {5656 void *start; /* Start of frame in DMA mem */5757- int len; /* Lenght of frame in DMA mem */5757+ int len; /* Length of frame in DMA mem */5858};59596060struct tx_fifo {6161 struct frame_cb queue[MAX_TX_WINDOW + 2]; /* Info about frames in queue */6262 int ptr; /* Currently being sent */6363- int len; /* Lenght of queue */6363+ int len; /* Length of queue */6464 int free; /* Next free slot */6565 void *tail; /* Next free start in DMA mem */6666};
+1-1
drivers/net/skfp/ess.c
···598598 req->cmd.sba_cmd = REQUEST_ALLOCATION ;599599600600 /*601601- * set the parameter type and parameter lenght of all used601601+ * set the parameter type and parameter length of all used602602 * parameters603603 */604604
+1-1
drivers/net/skfp/fplustm.c
···398398/* u_long td; transmit descriptor */399399/* struct fddi_mac *mac; mac frame pointer */400400/* unsigned off; start address within buffer memory */401401-/* int len ; lenght of the frame including the FC */401401+/* int len ; length of the frame including the FC */402402{403403 int i ;404404 u_int *p ;
+1-1
drivers/net/skfp/hwmtm.c
···1185118511861186 DB_RX("frame length = %d",len,0,4) ;11871187 /*11881188- * check the frame_lenght and all error flags11881188+ * check the frame_length and all error flags11891189 */11901190 if (rfsw & (RX_MSRABT|RX_FS_E|RX_FS_CRC|RX_FS_IMPL)){11911191 if (rfsw & RD_S_MSRABT) {
···14731473 * Called via lbs_prepare_and_send_command(priv, CMD_802_11_SCAN, ...)14741474 * from cmd.c14751475 *14761476- * Sends a fixed lenght data part (specifying the BSS type and BSSID filters)14761476+ * Sends a fixed length data part (specifying the BSS type and BSSID filters)14771477 * as well as a variable number/length of TLVs to the firmware.14781478 *14791479 * @param priv A pointer to struct lbs_private structure
+1-1
drivers/parport/probe.c
···163163 idlens[1] = idlens[0]+2;164164 if (belen != lelen) {165165 int off = 2;166166- /* Don't try lenghts of 0x100 and 0x200 as 1 and 2 */166166+ /* Don't try lengths of 0x100 and 0x200 as 1 and 2 */167167 if (idlens[0] <= 2)168168 off = 0;169169 idlens[off] = max(belen, lelen);
···236236 as in the indirect region code).237237238238 When/if blockno is found, if blockno is inside of a block 239239- run as stored on disk, we offset the start and lenght members 239239+ run as stored on disk, we offset the start and length members240240 of the block run, so that blockno is the start and len is241241 still valid (the run ends in the same place).242242
+1-1
fs/jfs/jfs_xtree.c
···39653965 * xtTruncate_pmap()39663966 *39673967 * function:39683968- * Perform truncate to zero lenghth for deleted file, leaving the39683968+ * Perform truncate to zero length for deleted file, leaving the39693969 * the xtree and working map untouched. This allows the file to39703970 * be accessed via open file handles, while the delete of the file39713971 * is committed to disk.
+1-1
include/linux/cycx_x25.h
···8181 * @n2win - level 2 window (values: 1 thru 7)8282 * @n3win - level 3 window (values: 1 thru 7)8383 * @nvc - # of logical channels (values: 1 thru 64)8484- * @pktlen - level 3 packet lenght - log base 2 of size8484+ * @pktlen - level 3 packet length - log base 2 of size8585 * @locaddr - my address8686 * @remaddr - remote address8787 * @t1 - time, in seconds
+1-1
include/linux/hdreg.h
···364364#define SETFEATURES_EN_RLA 0xAA /* Enable read look-ahead feature */365365#define SETFEATURES_PREFETCH 0xAB /* Sets drive prefetch value */366366#define SETFEATURES_EN_REST 0xAC /* ATA-1 */367367-#define SETFEATURES_4B_RW_LONG 0xBB /* Set Lenght of 4 bytes */367367+#define SETFEATURES_4B_RW_LONG 0xBB /* Set Length of 4 bytes */368368#define SETFEATURES_DIS_AAM 0xC2 /* Disable Automatic Acoustic Management */369369#define SETFEATURES_EN_RPOD 0xCC /* Enable reverting to power on defaults */370370#define SETFEATURES_DIS_RI 0xDD /* Disable release interrupt ATAPI */
+1-1
include/linux/reiserfs_fs_sb.h
···185185 unsigned long j_trans_id;186186 unsigned long j_mount_id;187187 unsigned long j_start; /* start of current waiting commit (index into j_ap_blocks) */188188- unsigned long j_len; /* lenght of current waiting commit */188188+ unsigned long j_len; /* length of current waiting commit */189189 unsigned long j_len_alloc; /* number of buffers requested by journal_begin() */190190 atomic_t j_wcount; /* count of writers for current commit */191191 unsigned long j_bcount; /* batch count. allows turning X transactions into 1 */
+1-1
include/linux/wireless.h
···10791079 */10801080struct iw_event10811081{10821082- __u16 len; /* Real lenght of this stuff */10821082+ __u16 len; /* Real length of this stuff */10831083 __u16 cmd; /* Wireless IOCTL */10841084 union iwreq_data u; /* IOCTL fixed payload */10851085};