Skip to content

Commit

Permalink
Documentation: remove duplicated words
Browse files Browse the repository at this point in the history
Remove many duplicated words under Documentation/ and do other small
cleanups.

Examples:
        "and and" --> "and"
        "in in" --> "in"
        "the the" --> "the"
        "the the" --> "to the"
        ...

Signed-off-by: Paolo Ornati <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>
  • Loading branch information
Paolo Ornati authored and AdrianBunk committed Oct 3, 2006
1 parent 53cb472 commit 670e9f3
Show file tree
Hide file tree
Showing 52 changed files with 61 additions and 62 deletions.
2 changes: 1 addition & 1 deletion Documentation/DMA-mapping.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ The query is performed via a call to pci_set_dma_mask():

int pci_set_dma_mask(struct pci_dev *pdev, u64 device_mask);

The query for consistent allocations is performed via a a call to
The query for consistent allocations is performed via a call to
pci_set_consistent_dma_mask():

int pci_set_consistent_dma_mask(struct pci_dev *pdev, u64 device_mask);
Expand Down
2 changes: 1 addition & 1 deletion Documentation/DocBook/libata.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -1400,7 +1400,7 @@ and other resources, etc.
<listitem>
<para>
When it's known that HBA is in ready state but ATA/ATAPI
device in in unknown state, reset only device.
device is in unknown state, reset only device.
</para>
</listitem>

Expand Down
2 changes: 1 addition & 1 deletion Documentation/DocBook/usb.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ usbdev_ioctl (int fd, int ifno, unsigned request, void *param)
<title>Synchronous I/O Support</title>

<para>Synchronous requests involve the kernel blocking
until until the user mode request completes, either by
until the user mode request completes, either by
finishing successfully or by reporting an error.
In most cases this is the simplest way to use usbfs,
although as noted above it does prevent performing I/O
Expand Down
2 changes: 1 addition & 1 deletion Documentation/RCU/whatisRCU.txt
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ Or, for those who prefer a side-by-side listing:

Either way, the differences are quite small. Read-side locking moves
to rcu_read_lock() and rcu_read_unlock, update-side locking moves from
from a reader-writer lock to a simple spinlock, and a synchronize_rcu()
a reader-writer lock to a simple spinlock, and a synchronize_rcu()
precedes the kfree().

However, there is one potential catch: the read-side and update-side
Expand Down
2 changes: 1 addition & 1 deletion Documentation/block/biodoc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Some new queue property settings:
Sets two variables that limit the size of the request.

- The request queue's max_sectors, which is a soft size in
in units of 512 byte sectors, and could be dynamically varied
units of 512 byte sectors, and could be dynamically varied
by the core kernel.

- The request queue's max_hw_sectors, which is a hard limit
Expand Down
2 changes: 1 addition & 1 deletion Documentation/driver-model/overview.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ the two.

The PCI bus layer freely accesses the fields of struct device. It knows about
the structure of struct pci_dev, and it should know the structure of struct
device. Individual PCI device drivers that have been converted the the current
device. Individual PCI device drivers that have been converted to the current
driver model generally do not and should not touch the fields of struct device,
unless there is a strong compelling reason to do so.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/exception.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ int verify_area(int type, const void * addr, unsigned long size)
function (which has since been replaced by access_ok()).

This function verified that the memory area starting at address
addr and of size size was accessible for the operation specified
'addr' and of size 'size' was accessible for the operation specified
in type (read or write). To do this, verify_read had to look up the
virtual memory area (vma) that contained the address addr. In the
normal case (correctly working program), this test was successful.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/fb/fbcon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ from the console layer before unloading the driver. The VGA driver cannot be
unloaded if it is still bound to the console layer. (See
Documentation/console/console.txt for more information).

This is more complicated in the case of the the framebuffer console (fbcon),
This is more complicated in the case of the framebuffer console (fbcon),
because fbcon is an intermediate layer between the console and the drivers:

console ---> fbcon ---> fbdev drivers ---> hardware
Expand Down
2 changes: 1 addition & 1 deletion Documentation/filesystems/directory-locking
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ own descendent. Moreover, there is exactly one cross-directory rename

Consider the object blocking the cross-directory rename. One
of its descendents is locked by cross-directory rename (otherwise we
would again have an infinite set of of contended objects). But that
would again have an infinite set of contended objects). But that
means that cross-directory rename is taking locks out of order. Due
to (2) the order hadn't changed since we had acquired filesystem lock.
But locking rules for cross-directory rename guarantee that we do not
Expand Down
2 changes: 1 addition & 1 deletion Documentation/filesystems/files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ the fdtable structure -
2. Reading of the fdtable as described above must be protected
by rcu_read_lock()/rcu_read_unlock().

3. For any update to the the fd table, files->file_lock must
3. For any update to the fd table, files->file_lock must
be held.

4. To look up the file structure given an fd, a reader
Expand Down
2 changes: 1 addition & 1 deletion Documentation/filesystems/spufs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ FILES


/wbox
The CPU to SPU communation mailbox. It is write-only can can be written
The CPU to SPU communation mailbox. It is write-only and can be written
in units of 32 bits. If the mailbox is full, write() will block and
poll can be used to wait for it becoming empty again. The possible
operations on an open wbox file are: write(2) If a count smaller than
Expand Down
2 changes: 1 addition & 1 deletion Documentation/filesystems/tmpfs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ size: The limit of allocated bytes for this tmpfs instance. The
nr_blocks: The same as size, but in blocks of PAGE_CACHE_SIZE.
nr_inodes: The maximum number of inodes for this instance. The default
is half of the number of your physical RAM pages, or (on a
a machine with highmem) the number of lowmem RAM pages,
machine with highmem) the number of lowmem RAM pages,
whichever is the lower.

These parameters accept a suffix k, m or g for kilo, mega and giga and
Expand Down
2 changes: 1 addition & 1 deletion Documentation/filesystems/vfat.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ iocharset=name -- Character set to use for converting between the
you should consider the following option instead.

utf8=<bool> -- UTF-8 is the filesystem safe version of Unicode that
is used by the console. It can be be enabled for the
is used by the console. It can be enabled for the
filesystem with this option. If 'uni_xlate' gets set,
UTF-8 gets disabled.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/filesystems/vfs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ otherwise noted.

put_link: called by the VFS to release resources allocated by
follow_link(). The cookie returned by follow_link() is passed
to to this method as the last parameter. It is used by
to this method as the last parameter. It is used by
filesystems such as NFS where page cache is not stable
(i.e. page that was installed when the symbolic link walk
started might not be in the page cache at the end of the
Expand Down
2 changes: 1 addition & 1 deletion Documentation/fujitsu/frv/mmu-layout.txt
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ related kernel services:
(*) __debug_mmu.iamr[]
(*) __debug_mmu.damr[]

These receive the current IAMR and DAMR contents. These can be viewed with with the _amr
These receive the current IAMR and DAMR contents. These can be viewed with the _amr
GDB macro:

(gdb) _amr
Expand Down
2 changes: 1 addition & 1 deletion Documentation/ia64/efirtc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ to initialize the system view of the time during boot.
Because we wanted to minimize the impact on existing user-level apps using
the CMOS clock, we decided to expose an API that was very similar to the one
used today with the legacy RTC driver (driver/char/rtc.c). However, because
EFI provides a simpler services, not all all ioctl() are available. Also
EFI provides a simpler services, not all ioctl() are available. Also
new ioctl()s have been introduced for things that EFI provides but not the
legacy.

Expand Down
4 changes: 2 additions & 2 deletions Documentation/ia64/mca.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ by locks is indeterminate, including linked lists.
---

The complicated ia64 MCA process. All of this is mandated by Intel's
specification for ia64 SAL, error recovery and and unwind, it is not as
specification for ia64 SAL, error recovery and unwind, it is not as
if we have a choice here.

* MCA occurs on one cpu, usually due to a double bit memory error.
Expand Down Expand Up @@ -94,7 +94,7 @@ if we have a choice here.

INIT is less complicated than MCA. Pressing the nmi button or using
the equivalent command on the management console sends INIT to all
cpus. SAL picks one one of the cpus as the monarch and the rest are
cpus. SAL picks one of the cpus as the monarch and the rest are
slaves. All the OS INIT handlers are entered at approximately the same
time. The OS monarch prints the state of all tasks and returns, after
which the slaves return and the system resumes.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/input/input.txt
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ generated in the kernel straight to the program, with timestamps. The
API is still evolving, but should be useable now. It's described in
section 5.

This should be the way for GPM and X to get keyboard and mouse mouse
This should be the way for GPM and X to get keyboard and mouse
events. It allows for multihead in X without any specific multihead
kernel support. The event codes are the same on all architectures and
are hardware independent.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/isdn/INTERFACE.fax
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Structure T30_s description:
If the HL-driver receives ISDN_CMD_FAXCMD, all needed information
is in this struct set by the LL.
To signal information to the LL, the HL-driver has to set the
the parameters and use ISDN_STAT_FAXIND.
parameters and use ISDN_STAT_FAXIND.
(Please refer to INTERFACE)

Structure T30_s:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/isdn/README.hysdn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$Id: README.hysdn,v 1.3.6.1 2001/02/10 14:41:19 kai Exp $
The hysdn driver has been written by
by Werner Cornelius ([email protected] or [email protected])
Werner Cornelius ([email protected] or [email protected])
for Hypercope GmbH Aachen Germany. Hypercope agreed to publish this driver
under the GNU General Public License.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/kdump/kdump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ If die() is called, and it happens to be a thread with pid 0 or 1, or die()
is called inside interrupt context or die() is called and panic_on_oops is set,
the system will boot into the dump-capture kernel.

On powererpc systems when a soft-reset is generated, die() is called by all cpus and the system system will boot into the dump-capture kernel.
On powererpc systems when a soft-reset is generated, die() is called by all cpus and the system will boot into the dump-capture kernel.

For testing purposes, you can trigger a crash by using "ALT-SysRq-c",
"echo c > /proc/sysrq-trigger or write a module to force the panic.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/keys.txt
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ The keyctl syscall functions are:

Note that this setting is inherited across fork/exec.

[1] The default default is: the thread keyring if there is one, otherwise
[1] The default is: the thread keyring if there is one, otherwise
the process keyring if there is one, otherwise the session keyring if
there is one, otherwise the user default session keyring.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/m68k/kernel-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ switch to another mode once Linux has started.

The first 3 parameters of this sub-option should be obvious: <xres>,
<yres> and <depth> give the dimensions of the screen and the number of
planes (depth). The depth is is the logarithm to base 2 of the number
planes (depth). The depth is the logarithm to base 2 of the number
of colors possible. (Or, the other way round: The number of colors is
2^depth).

Expand Down
2 changes: 1 addition & 1 deletion Documentation/memory-barriers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ effectively random order, despite the write barrier issued by CPU 1:


In the above example, CPU 2 perceives that B is 7, despite the load of *C
(which would be B) coming after the the LOAD of C.
(which would be B) coming after the LOAD of C.

If, however, a data dependency barrier were to be placed between the load of C
and the load of *C (ie: B) on CPU 2:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/networking/bonding.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ Changing a Bond's Configuration
files located in /sys/class/net/<bond name>/bonding

The names of these files correspond directly with the command-
line parameters described elsewhere in in this file, and, with the
line parameters described elsewhere in this file, and, with the
exception of arp_ip_target, they accept the same values. To see the
current setting, simply cat the appropriate file.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/networking/cs89x0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ [email protected]) and request that you be registered for automatic
software-update notification.

Cirrus Logic maintains a web page at http://www.cirrus.com with the
the latest drivers and technical publications.
latest drivers and technical publications.


6.4 Current maintainer
Expand Down
2 changes: 1 addition & 1 deletion Documentation/networking/decnet.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ ethernet address of your ethernet card has to be set according to the DECnet
address of the node in order for it to be autoconfigured (and then appear in
/proc/net/decnet_dev). There is a utility available at the above
FTP sites called dn2ethaddr which can compute the correct ethernet
address to use. The address can be set by ifconfig either before at
address to use. The address can be set by ifconfig either before or
at the time the device is brought up. If you are using RedHat you can
add the line:

Expand Down
2 changes: 1 addition & 1 deletion Documentation/networking/e1000.txt
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Additional Configurations

As an example, if you install the e1000 driver for two PRO/1000 adapters
(eth0 and eth1) and set the speed and duplex to 10full and 100half, add
the following to modules.conf or or modprobe.conf:
the following to modules.conf or modprobe.conf:

alias eth0 e1000
alias eth1 e1000
Expand Down
2 changes: 1 addition & 1 deletion Documentation/networking/s2io.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ However, you may want to set PCI latency timer to 248.
#setpci -d 17d5:* LATENCY_TIMER=f8
For detailed description of the PCI registers, please see Xframe User Guide.
b. Use 2-buffer mode. This results in large performance boost on
on certain platforms(eg. SGI Altix, IBM xSeries).
certain platforms(eg. SGI Altix, IBM xSeries).
c. Ensure Receive Checksum offload is enabled. Use "ethtool -K ethX" command to
set/verify this option.
d. Enable NAPI feature(in kernel configuration Device Drivers ---> Network
Expand Down
2 changes: 1 addition & 1 deletion Documentation/networking/sk98lin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ Solution: In /proc/pci search for the following entry:
www.syskonnect.com

Some COMPAQ machines have problems dealing with PCI under Linux.
Linux. This problem is described in the 'PCI howto' document
This problem is described in the 'PCI howto' document
(included in some distributions or available from the
web, e.g. at 'www.linux.org').

Expand Down
2 changes: 1 addition & 1 deletion Documentation/pci-error-recovery.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ is STEP 6 (Permanent Failure).
>>> a value of 0xff on read, and writes will be dropped. If the device
>>> driver attempts more than 10K I/O's to a frozen adapter, it will
>>> assume that the device driver has gone into an infinite loop, and
>>> it will panic the the kernel. There doesn't seem to be any other
>>> it will panic the kernel. There doesn't seem to be any other
>>> way of stopping a device driver that insists on spinning on I/O.

STEP 2: MMIO Enabled
Expand Down
2 changes: 1 addition & 1 deletion Documentation/power/swsusp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ instead set the PF_NOFREEZE process flag when creating the thread (and
be very carefull).


Q: What is the difference between between "platform", "shutdown" and
Q: What is the difference between "platform", "shutdown" and
"firmware" in /sys/power/disk?

A:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/prio_tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ path which is not desirable. Hence, we do not optimize the height of the
heap-and-size indexed overflow-sub-trees using prio_tree->index_bits.
Instead the overflow sub-trees are indexed using full BITS_PER_LONG bits
of size_index. This may lead to skewed sub-trees because most of the
higher significant bits of the size_index are likely to be be 0 (zero). In
higher significant bits of the size_index are likely to be 0 (zero). In
the example above, all 3 overflow-sub-trees are skewed. This may marginally
affect the performance. However, processes rarely map many vmas with the
same start_vm_pgoff but different end_vm_pgoffs. Therefore, we normally
Expand Down
2 changes: 1 addition & 1 deletion Documentation/rpc-cache.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Creating a Cache
structure
void cache_put(struct kref *)
This is called when the last reference to an item is
is dropped. The pointer passed is to the 'ref' field
dropped. The pointer passed is to the 'ref' field
in the cache_head. cache_put should release any
references create by 'cache_init' and, if CACHE_VALID
is set, any references created by cache_update.
Expand Down
9 changes: 4 additions & 5 deletions Documentation/s390/Debugging390.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1085,8 +1085,7 @@ Notes
-----
Addresses & values in the VM debugger are always hex never decimal
Address ranges are of the format <HexValue1>-<HexValue2> or <HexValue1>.<HexValue2>
e.g. The address range 0x2000 to 0x3000 can be described described as
2000-3000 or 2000.1000
e.g. The address range 0x2000 to 0x3000 can be described as 2000-3000 or 2000.1000

The VM Debugger is case insensitive.

Expand Down Expand Up @@ -1413,7 +1412,7 @@ SMP Specific commands
To find out how many cpus you have
Q CPUS displays all the CPU's available to your virtual machine
To find the cpu that the current cpu VM debugger commands are being directed at do
Q CPU to change the current cpu cpu VM debugger commands are being directed at do
Q CPU to change the current cpu VM debugger commands are being directed at do
CPU <desired cpu no>

On a SMP guest issue a command to all CPUs try prefixing the command with cpu all.
Expand Down Expand Up @@ -2184,7 +2183,7 @@ ps -aux | grep gdb
kill -SIGSEGV <gdb's pid>
or alternatively use killall -SIGSEGV gdb if you have the killall command.
Now look at the core dump.
./gdb ./gdb core
./gdb core
Displays the following
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2477,7 +2476,7 @@ Lcrash is a perfectly normal program,however, it requires 2
additional files, Kerntypes which is built using a patch to the
linux kernel sources in the linux root directory & the System.map.

Kerntypes is an an objectfile whose sole purpose in life
Kerntypes is an objectfile whose sole purpose in life
is to provide stabs debug info to lcrash, to do this
Kerntypes is built from kerntypes.c which just includes the most commonly
referenced header files used when debugging, lcrash can then read the
Expand Down
4 changes: 2 additions & 2 deletions Documentation/s390/s390dbf.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Predefined views for hex/ascii, sprintf and raw binary data are provided.
It is also possible to define other views. The content of
a view can be inspected simply by reading the corresponding debugfs file.

All debug logs have an an actual debug level (range from 0 to 6).
All debug logs have an actual debug level (range from 0 to 6).
The default level is 3. Event and Exception functions have a 'level'
parameter. Only debug entries with a level that is lower or equal
than the actual level are written to the log. This means, when
Expand Down Expand Up @@ -556,7 +556,7 @@ The input_proc can be used to implement functionality when it is written to
the view (e.g. like with 'echo "0" > /sys/kernel/debug/s390dbf/dasd/level).

For header_proc there can be used the default function
debug_dflt_header_fn() which is defined in in debug.h.
debug_dflt_header_fn() which is defined in debug.h.
and which produces the same header output as the predefined views.
E.g:
00 00964419409:440761 2 - 00 88023ec
Expand Down
2 changes: 1 addition & 1 deletion Documentation/scsi/ChangeLog.1992-1997
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ Thu Jul 21 10:37:39 1994 Eric Youngdale (eric@esp22)

* sr.c(sr_open): Do not allow opens with write access.

Mon Jul 18 09:51:22 1994 1994 Eric Youngdale (eric@esp22)
Mon Jul 18 09:51:22 1994 Eric Youngdale (eric@esp22)

* Linux 1.1.31 released.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/scsi/st.txt
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ BOOT TIME CONFIGURATION

If the driver is compiled into the kernel, the same parameters can be
also set using, e.g., the LILO command line. The preferred syntax is
is to use the same keyword used when loading as module but prepended
to use the same keyword used when loading as module but prepended
with 'st.'. For instance, to set the maximum number of scatter/gather
segments, the parameter 'st.max_sg_segs=xx' should be used (xx is the
number of scatter/gather segments).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5486,7 +5486,7 @@ struct _snd_pcm_runtime {
<chapter id="power-management">
<title>Power Management</title>
<para>
If the chip is supposed to work with with suspend/resume
If the chip is supposed to work with suspend/resume
functions, you need to add the power-management codes to the
driver. The additional codes for the power-management should be
<function>ifdef</function>'ed with
Expand Down
Loading

0 comments on commit 670e9f3

Please sign in to comment.