Skip to content

Commit 19af5cd

Browse files
moJiri Kosina
authored andcommitted
trivial: fix typo milisecond/millisecond for documentation and source comments.
Signed-off-by: Martin Olsson <martin@minimum.se> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 98a1708 commit 19af5cd

8 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎Documentation/CodingStyle‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,8 +698,8 @@ very often is not. Abundant use of the inline keyword leads to a much bigger
698698
kernel, which in turn slows the system as a whole down, due to a bigger
699699
icache footprint for the CPU and simply because there is less memory
700700
available for the pagecache. Just think about it; a pagecache miss causes a
701-
disk seek, which easily takes 5 miliseconds. There are a LOT of cpu cycles
702-
that can go into these 5 miliseconds.
701+
disk seek, which easily takes 5 milliseconds. There are a LOT of cpu cycles
702+
that can go into these 5 milliseconds.
703703

704704
A reasonable rule of thumb is to not put inline at functions that have more
705705
than 3 lines of code in them. An exception to this rule are the cases where

‎drivers/ide/ide-atapi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ static ide_startstop_t ide_transfer_pc(ide_drive_t *drive)
577577

578578
/*
579579
* If necessary schedule the packet transfer to occur 'timeout'
580-
* miliseconds later in ide_delayed_transfer_pc() after the
580+
* milliseconds later in ide_delayed_transfer_pc() after the
581581
* device says it's ready for a packet.
582582
*/
583583
if (drive->atapi_flags & IDE_AFLAG_ZIP_DRIVE) {

‎drivers/isdn/mISDN/dsp_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb)
502502
break;
503503
}
504504
dsp->cmx_delay = (*((int *)data)) << 3;
505-
/* miliseconds to samples */
505+
/* milliseconds to samples */
506506
if (dsp->cmx_delay >= (CMX_BUFF_HALF>>1))
507507
/* clip to half of maximum usable buffer
508508
(half of half buffer) */

‎drivers/net/ipg.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ enum ipg_regs {
514514
#define IPG_DMALIST_ALIGN_PAD 0x07
515515
#define IPG_MULTICAST_HASHTABLE_SIZE 0x40
516516

517-
/* Number of miliseconds to wait after issuing a software reset.
517+
/* Number of milliseconds to wait after issuing a software reset.
518518
* 0x05 <= IPG_AC_RESETWAIT to account for proper 10Mbps operation.
519519
*/
520520
#define IPG_AC_RESETWAIT 0x05

‎drivers/s390/scsi/zfcp_fc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ static void zfcp_wka_port_put(struct zfcp_wka_port *wka_port)
116116
{
117117
if (atomic_dec_return(&wka_port->refcount) != 0)
118118
return;
119-
/* wait 10 miliseconds, other reqs might pop in */
119+
/* wait 10 milliseconds, other reqs might pop in */
120120
schedule_delayed_work(&wka_port->work, HZ / 100);
121121
}
122122

‎drivers/scsi/dpt/osd_util.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ uLONG osdGetThreadID(void);
342342
/* wakes up the specifed thread */
343343
void osdWakeThread(uLONG);
344344

345-
/* osd sleep for x miliseconds */
345+
/* osd sleep for x milliseconds */
346346
void osdSleep(uLONG);
347347

348348
#define DPT_THREAD_PRIORITY_LOWEST 0x00

‎drivers/usb/serial/io_ti.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ struct edgeport_port {
102102
__u8 shadow_mcr;
103103
__u8 shadow_lsr;
104104
__u8 lsr_mask;
105-
__u32 ump_read_timeout; /* Number of miliseconds the UMP will
105+
__u32 ump_read_timeout; /* Number of milliseconds the UMP will
106106
wait without data before completing
107107
a read short */
108108
int baud_rate;

‎sound/pci/vx222/vx222_ops.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ static int vx2_load_xilinx_binary(struct vx_core *chip, const struct firmware *x
367367
unsigned int port;
368368
const unsigned char *image;
369369

370-
/* XILINX reset (wait at least 1 milisecond between reset on and off). */
370+
/* XILINX reset (wait at least 1 millisecond between reset on and off). */
371371
vx_outl(chip, CNTRL, VX_CNTRL_REGISTER_VALUE | VX_XILINX_RESET_MASK);
372372
vx_inl(chip, CNTRL);
373373
msleep(10);

0 commit comments

Comments
 (0)