Skip to content

Commit 0779bf2

Browse files
Matt LaPlanteAdrianBunk
authored andcommitted
Fix misc .c/.h comment typos
Fix various .c/.h typos in comments (no code changes). Signed-off-by: Matt LaPlante <kernel1@cyberdogtech.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
1 parent 3cb2fcc commit 0779bf2

39 files changed

Lines changed: 71 additions & 71 deletions

File tree

‎arch/cris/arch-v10/drivers/eeprom.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!*****************************************************************************
22
*!
3-
*! Implements an interface for i2c compatible eeproms to run under linux.
4-
*! Supports 2k, 8k(?) and 16k. Uses adaptive timing adjustents by
3+
*! Implements an interface for i2c compatible eeproms to run under Linux.
4+
*! Supports 2k, 8k(?) and 16k. Uses adaptive timing adjustments by
55
*! Johan.Adolfsson@axis.com
66
*!
77
*! Probing results:
@@ -51,7 +51,7 @@
5151
*! Revision 1.8 2001/06/15 13:24:29 jonashg
5252
*! * Added verification of pointers from userspace in read and write.
5353
*! * Made busy counter volatile.
54-
*! * Added define for inital write delay.
54+
*! * Added define for initial write delay.
5555
*! * Removed warnings by using loff_t instead of unsigned long.
5656
*!
5757
*! Revision 1.7 2001/06/14 15:26:54 jonashg

‎arch/cris/arch-v10/drivers/i2c.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
*! Update Port B register and shadow even when running with hardware support
4848
*! to avoid glitches when reading bits
4949
*! Never set direction to out in i2c_inbyte
50-
*! Removed incorrect clock togling at end of i2c_inbyte
50+
*! Removed incorrect clock toggling at end of i2c_inbyte
5151
*!
5252
*! Revision 1.8 2002/08/13 06:31:53 starvik
5353
*! Made SDA and SCL line configurable

‎arch/cris/arch-v10/kernel/kgdb.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
*!
3434
*! Revision 1.2 2002/11/19 14:35:24 starvik
3535
*! Changes from linux 2.4
36-
*! Changed struct initializer syntax to the currently prefered notation
36+
*! Changed struct initializer syntax to the currently preferred notation
3737
*!
3838
*! Revision 1.1 2001/12/17 13:59:27 bjornw
3939
*! Initial revision

‎arch/ia64/hp/common/sba_iommu.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
** If a device prefetches beyond the end of a valid pdir entry, it will cause
7676
** a hard failure, ie. MCA. Version 3.0 and later of the zx1 LBA should
7777
** disconnect on 4k boundaries and prevent such issues. If the device is
78-
** particularly agressive, this option will keep the entire pdir valid such
78+
** particularly aggressive, this option will keep the entire pdir valid such
7979
** that prefetching will hit a valid address. This could severely impact
8080
** error containment, and is therefore off by default. The page that is
8181
** used for spill-over is poisoned, so that should help debugging somewhat.
@@ -258,10 +258,10 @@ static u64 prefetch_spill_page;
258258

259259
/*
260260
** DMA_CHUNK_SIZE is used by the SCSI mid-layer to break up
261-
** (or rather not merge) DMA's into managable chunks.
261+
** (or rather not merge) DMAs into manageable chunks.
262262
** On parisc, this is more of the software/tuning constraint
263-
** rather than the HW. I/O MMU allocation alogorithms can be
264-
** faster with smaller size is (to some degree).
263+
** rather than the HW. I/O MMU allocation algorithms can be
264+
** faster with smaller sizes (to some degree).
265265
*/
266266
#define DMA_CHUNK_SIZE (BITS_PER_LONG*iovp_size)
267267

‎arch/sh64/lib/dbg.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ void show_excp_regs(char *from, int trapnr, int signr, struct pt_regs *regs)
383383
/* ======================================================================= */
384384

385385
/*
386-
** Depending on <base> scan the MMU, Data or Instrction side
386+
** Depending on <base> scan the MMU, Data or Instruction side
387387
** looking for a valid mapping matching Eaddr & asid.
388388
** Return -1 if not found or the TLB id entry otherwise.
389389
** Note: it works only for 4k pages!

‎drivers/atm/iphase.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ static void clear_lockup (struct atm_vcc *vcc, IADEV *dev) {
305305
** | R | NZ | 5-bit exponent | 9-bit mantissa |
306306
** +----+----+------------------+-------------------------------+
307307
**
308-
** R = reserverd (written as 0)
308+
** R = reserved (written as 0)
309309
** NZ = 0 if 0 cells/sec; 1 otherwise
310310
**
311311
** if NZ = 1, rate = 1.mmmmmmmmm x 2^(eeeee) cells/sec

‎drivers/char/rio/riocmd.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ int RIOUnUse(unsigned long iPortP, struct CmdBlk *CmdBlkP)
922922
**
923923
** Packet is an actual packet structure to be filled in with the packet
924924
** information associated with the command. You need to fill in everything,
925-
** as the command processore doesn't process the command packet in any way.
925+
** as the command processor doesn't process the command packet in any way.
926926
**
927927
** The PreFuncP is called before the packet is enqueued on the host rup.
928928
** PreFuncP is called as (*PreFuncP)(PreArg, CmdBlkP);. PreFuncP must

‎drivers/char/rio/rioinit.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ int RIOBoardTest(unsigned long paddr, void __iomem *caddr, unsigned char type, i
222222
** which value will be written into memory.
223223
** Call with op set to zero means that the RAM will not be read and checked
224224
** before it is written.
225-
** Call with op not zero, and the RAM will be read and compated with val[op-1]
225+
** Call with op not zero and the RAM will be read and compared with val[op-1]
226226
** to check that the data from the previous phase was retained.
227227
*/
228228

‎drivers/char/rio/rioparam.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ static char *_rioparam_c_sccs_ = "@(#)rioparam.c 1.3";
8787
** command bit set onto the port. The command bit is in the len field,
8888
** and gets ORed in with the actual byte count.
8989
**
90-
** When you send a packet with the command bit set, then the first
91-
** data byte ( data[0] ) is interpretted as the command to execute.
90+
** When you send a packet with the command bit set the first
91+
** data byte (data[0]) is interpreted as the command to execute.
9292
** It also governs what data structure overlay should accompany the packet.
9393
** Commands are defined in cirrus/cirrus.h
9494
**
@@ -103,7 +103,7 @@ static char *_rioparam_c_sccs_ = "@(#)rioparam.c 1.3";
103103
**
104104
** Most commands do not use the remaining bytes in the data array. The
105105
** exceptions are OPEN MOPEN and CONFIG. (NB. As with the SI CONFIG and
106-
** OPEN are currently analagous). With these three commands the following
106+
** OPEN are currently analogous). With these three commands the following
107107
** 11 data bytes are all used to pass config information such as baud rate etc.
108108
** The fields are also defined in cirrus.h. Some contain straightforward
109109
** information such as the transmit XON character. Two contain the transmit and

‎drivers/ide/ide-floppy.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1635,7 +1635,7 @@ static int idefloppy_begin_format(ide_drive_t *drive, int __user *arg)
16351635
/*
16361636
** Get ATAPI_FORMAT_UNIT progress indication.
16371637
**
1638-
** Userland gives a pointer to an int. The int is set to a progresss
1638+
** Userland gives a pointer to an int. The int is set to a progress
16391639
** indicator 0-65536, with 65536=100%.
16401640
**
16411641
** If the drive does not support format progress indication, we just check

0 commit comments

Comments
 (0)