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

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>

authored by

Martin Olsson and committed by
Jiri Kosina
19af5cdb 98a1708d

+9 -9
+2 -2
Documentation/CodingStyle
··· 698 698 kernel, which in turn slows the system as a whole down, due to a bigger 699 699 icache footprint for the CPU and simply because there is less memory 700 700 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. 703 703 704 704 A reasonable rule of thumb is to not put inline at functions that have more 705 705 than 3 lines of code in them. An exception to this rule are the cases where
+1 -1
drivers/ide/ide-atapi.c
··· 577 577 578 578 /* 579 579 * 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 581 581 * device says it's ready for a packet. 582 582 */ 583 583 if (drive->atapi_flags & IDE_AFLAG_ZIP_DRIVE) {
+1 -1
drivers/isdn/mISDN/dsp_core.c
··· 502 502 break; 503 503 } 504 504 dsp->cmx_delay = (*((int *)data)) << 3; 505 - /* miliseconds to samples */ 505 + /* milliseconds to samples */ 506 506 if (dsp->cmx_delay >= (CMX_BUFF_HALF>>1)) 507 507 /* clip to half of maximum usable buffer 508 508 (half of half buffer) */
+1 -1
drivers/net/ipg.h
··· 514 514 #define IPG_DMALIST_ALIGN_PAD 0x07 515 515 #define IPG_MULTICAST_HASHTABLE_SIZE 0x40 516 516 517 - /* Number of miliseconds to wait after issuing a software reset. 517 + /* Number of milliseconds to wait after issuing a software reset. 518 518 * 0x05 <= IPG_AC_RESETWAIT to account for proper 10Mbps operation. 519 519 */ 520 520 #define IPG_AC_RESETWAIT 0x05
+1 -1
drivers/s390/scsi/zfcp_fc.c
··· 116 116 { 117 117 if (atomic_dec_return(&wka_port->refcount) != 0) 118 118 return; 119 - /* wait 10 miliseconds, other reqs might pop in */ 119 + /* wait 10 milliseconds, other reqs might pop in */ 120 120 schedule_delayed_work(&wka_port->work, HZ / 100); 121 121 } 122 122
+1 -1
drivers/scsi/dpt/osd_util.h
··· 342 342 /* wakes up the specifed thread */ 343 343 void osdWakeThread(uLONG); 344 344 345 - /* osd sleep for x miliseconds */ 345 + /* osd sleep for x milliseconds */ 346 346 void osdSleep(uLONG); 347 347 348 348 #define DPT_THREAD_PRIORITY_LOWEST 0x00
+1 -1
drivers/usb/serial/io_ti.c
··· 102 102 __u8 shadow_mcr; 103 103 __u8 shadow_lsr; 104 104 __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 106 106 wait without data before completing 107 107 a read short */ 108 108 int baud_rate;
+1 -1
sound/pci/vx222/vx222_ops.c
··· 367 367 unsigned int port; 368 368 const unsigned char *image; 369 369 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). */ 371 371 vx_outl(chip, CNTRL, VX_CNTRL_REGISTER_VALUE | VX_XILINX_RESET_MASK); 372 372 vx_inl(chip, CNTRL); 373 373 msleep(10);