Commit c9f3f2d8 authored by Masanari Iida's avatar Masanari Iida Committed by Jiri Kosina

doc: Fix typo in doucmentations

Correct typo (double words) in documentations.
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 30abda17
...@@ -78,7 +78,7 @@ to NULL. Drivers should use the following idiom: ...@@ -78,7 +78,7 @@ to NULL. Drivers should use the following idiom:
The most common usage of these functions will probably be to specify The most common usage of these functions will probably be to specify
the maximum time from when an interrupt occurs, to when the device the maximum time from when an interrupt occurs, to when the device
becomes accessible. To accomplish this, driver writers should use the becomes accessible. To accomplish this, driver writers should use the
set_max_mpu_wakeup_lat() function to to constrain the MPU wakeup set_max_mpu_wakeup_lat() function to constrain the MPU wakeup
latency, and the set_max_dev_wakeup_lat() function to constrain the latency, and the set_max_dev_wakeup_lat() function to constrain the
device wakeup latency (from clk_enable() to accessibility). For device wakeup latency (from clk_enable() to accessibility). For
example, example,
......
...@@ -69,7 +69,7 @@ one, this value should be decreased relative to fifo_expire_async. ...@@ -69,7 +69,7 @@ one, this value should be decreased relative to fifo_expire_async.
group_idle group_idle
----------- -----------
This parameter forces idling at the CFQ group level instead of CFQ This parameter forces idling at the CFQ group level instead of CFQ
queue level. This was introduced after after a bottleneck was observed queue level. This was introduced after a bottleneck was observed
in higher end storage due to idle on sequential queue and allow dispatch in higher end storage due to idle on sequential queue and allow dispatch
from a single queue. The idea with this parameter is that it can be run with from a single queue. The idea with this parameter is that it can be run with
slice_idle=0 and group_idle=8, so that idling does not happen on individual slice_idle=0 and group_idle=8, so that idling does not happen on individual
......
...@@ -32,8 +32,8 @@ numbers - see motherboard's TRM for more details. ...@@ -32,8 +32,8 @@ numbers - see motherboard's TRM for more details.
The node describing a config device must refer to the sysreg node via The node describing a config device must refer to the sysreg node via
"arm,vexpress,config-bridge" phandle (can be also defined in the node's "arm,vexpress,config-bridge" phandle (can be also defined in the node's
parent) and relies on the board topology properties - see main vexpress parent) and relies on the board topology properties - see main vexpress
node documentation for more details. It must must also define the node documentation for more details. It must also define the following
following property: property:
- arm,vexpress-sysreg,func : must contain two cells: - arm,vexpress-sysreg,func : must contain two cells:
- first cell defines function number (eg. 1 for clock generator, - first cell defines function number (eg. 1 for clock generator,
2 for voltage regulators etc.) 2 for voltage regulators etc.)
......
...@@ -37,7 +37,7 @@ Bank: 3 (A, B and C) ...@@ -37,7 +37,7 @@ Bank: 3 (A, B and C)
0xffffffff 0x7fff3ccf /* pioB */ 0xffffffff 0x7fff3ccf /* pioB */
0xffffffff 0x007fffff /* pioC */ 0xffffffff 0x007fffff /* pioC */
For each peripheral/bank we will descibe in a u32 if a pin can can be For each peripheral/bank we will descibe in a u32 if a pin can be
configured in it by putting 1 to the pin bit (1 << pin) configured in it by putting 1 to the pin bit (1 << pin)
Let's take the pioA on peripheral B Let's take the pioA on peripheral B
......
...@@ -321,7 +321,7 @@ Access to a dma_buf from the kernel context involves three steps: ...@@ -321,7 +321,7 @@ Access to a dma_buf from the kernel context involves three steps:
When the importer is done accessing the range specified in begin_cpu_access, When the importer is done accessing the range specified in begin_cpu_access,
it needs to announce this to the exporter (to facilitate cache flushing and it needs to announce this to the exporter (to facilitate cache flushing and
unpinning of any pinned resources). The result of of any dma_buf kmap calls unpinning of any pinned resources). The result of any dma_buf kmap calls
after end_cpu_access is undefined. after end_cpu_access is undefined.
Interface: Interface:
......
...@@ -150,7 +150,7 @@ C. Boot options ...@@ -150,7 +150,7 @@ C. Boot options
C. Attaching, Detaching and Unloading C. Attaching, Detaching and Unloading
Before going on on how to attach, detach and unload the framebuffer console, an Before going on how to attach, detach and unload the framebuffer console, an
illustration of the dependencies may help. illustration of the dependencies may help.
The console layer, as with most subsystems, needs a driver that interfaces with The console layer, as with most subsystems, needs a driver that interfaces with
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
Start viafb with default settings: Start viafb with default settings:
#modprobe viafb #modprobe viafb
Start viafb with with user options: Start viafb with user options:
#modprobe viafb viafb_mode=800x600 viafb_bpp=16 viafb_refresh=60 #modprobe viafb viafb_mode=800x600 viafb_bpp=16 viafb_refresh=60
viafb_active_dev=CRT+DVI viafb_dvi_port=DVP1 viafb_active_dev=CRT+DVI viafb_dvi_port=DVP1
viafb_mode1=1024x768 viafb_bpp=16 viafb_refresh1=60 viafb_mode1=1024x768 viafb_bpp=16 viafb_refresh1=60
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Ext4 Filesystem Ext4 Filesystem
=============== ===============
Ext4 is an an advanced level of the ext3 filesystem which incorporates Ext4 is an advanced level of the ext3 filesystem which incorporates
scalability and reliability enhancements for supporting large filesystems scalability and reliability enhancements for supporting large filesystems
(64 bit) in keeping with increasing disk capacities and state-of-the-art (64 bit) in keeping with increasing disk capacities and state-of-the-art
feature requirements. feature requirements.
......
...@@ -12,7 +12,7 @@ struct pnfs_layout_hdr ...@@ -12,7 +12,7 @@ struct pnfs_layout_hdr
---------------------- ----------------------
The on-the-wire command LAYOUTGET corresponds to struct The on-the-wire command LAYOUTGET corresponds to struct
pnfs_layout_segment, usually referred to by the variable name lseg. pnfs_layout_segment, usually referred to by the variable name lseg.
Each nfs_inode may hold a pointer to a cache of of these layout Each nfs_inode may hold a pointer to a cache of these layout
segments in nfsi->layout, of type struct pnfs_layout_hdr. segments in nfsi->layout, of type struct pnfs_layout_hdr.
We reference the header for the inode pointing to it, across each We reference the header for the inode pointing to it, across each
......
...@@ -31,7 +31,7 @@ Semantics ...@@ -31,7 +31,7 @@ Semantics
Each relay channel has one buffer per CPU, each buffer has one or more Each relay channel has one buffer per CPU, each buffer has one or more
sub-buffers. Messages are written to the first sub-buffer until it is sub-buffers. Messages are written to the first sub-buffer until it is
too full to contain a new message, in which case it it is written to too full to contain a new message, in which case it is written to
the next (if available). Messages are never split across sub-buffers. the next (if available). Messages are never split across sub-buffers.
At this point, userspace can be notified so it empties the first At this point, userspace can be notified so it empties the first
sub-buffer, while the kernel continues writing to the next. sub-buffer, while the kernel continues writing to the next.
......
...@@ -24,7 +24,7 @@ flag between KOBJ_NS_TYPE_NONE and KOBJ_NS_TYPES, and s_ns will ...@@ -24,7 +24,7 @@ flag between KOBJ_NS_TYPE_NONE and KOBJ_NS_TYPES, and s_ns will
point to the namespace to which it belongs. point to the namespace to which it belongs.
Each sysfs superblock's sysfs_super_info contains an array void Each sysfs superblock's sysfs_super_info contains an array void
*ns[KOBJ_NS_TYPES]. When a a task in a tagging namespace *ns[KOBJ_NS_TYPES]. When a task in a tagging namespace
kobj_nstype first mounts sysfs, a new superblock is created. It kobj_nstype first mounts sysfs, a new superblock is created. It
will be differentiated from other sysfs mounts by having its will be differentiated from other sysfs mounts by having its
s_fs_info->ns[kobj_nstype] set to the new namespace. Note that s_fs_info->ns[kobj_nstype] set to the new namespace. Note that
......
...@@ -196,8 +196,8 @@ static int example_probe(struct i2c_client *i2c_client, ...@@ -196,8 +196,8 @@ static int example_probe(struct i2c_client *i2c_client,
Update the detach method, by changing the name to _remove and Update the detach method, by changing the name to _remove and
to delete the i2c_detach_client call. It is possible that you to delete the i2c_detach_client call. It is possible that you
can also remove the ret variable as it is not not needed for can also remove the ret variable as it is not needed for any
any of the core functions. of the core functions.
- static int example_detach(struct i2c_client *client) - static int example_detach(struct i2c_client *client)
+ static int example_remove(struct i2c_client *client) + static int example_remove(struct i2c_client *client)
......
...@@ -300,7 +300,7 @@ initialization. ...@@ -300,7 +300,7 @@ initialization.
------------------------------------------- -------------------------------------------
RapidIO subsystem code organization allows addition of new enumeration/discovery RapidIO subsystem code organization allows addition of new enumeration/discovery
methods as new configuration options without significant impact to to the core methods as new configuration options without significant impact to the core
RapidIO code. RapidIO code.
A new enumeration/discovery method has to be attached to one or more mport A new enumeration/discovery method has to be attached to one or more mport
......
...@@ -73,7 +73,7 @@ The main requirements are: ...@@ -73,7 +73,7 @@ The main requirements are:
Design Design
The new API shares a number of concepts with with the PCM API for flow The new API shares a number of concepts with the PCM API for flow
control. Start, pause, resume, drain and stop commands have the same control. Start, pause, resume, drain and stop commands have the same
semantics no matter what the content is. semantics no matter what the content is.
......
...@@ -47,7 +47,7 @@ versions of the sysfs interface. ...@@ -47,7 +47,7 @@ versions of the sysfs interface.
at device creation and removal at device creation and removal
- the unique key to the device at that point in time - the unique key to the device at that point in time
- the kernel's path to the device directory without the leading - the kernel's path to the device directory without the leading
/sys, and always starting with with a slash /sys, and always starting with a slash
- all elements of a devpath must be real directories. Symlinks - all elements of a devpath must be real directories. Symlinks
pointing to /sys/devices must always be resolved to their real pointing to /sys/devices must always be resolved to their real
target and the target path must be used to access the device. target and the target path must be used to access the device.
......
...@@ -53,7 +53,7 @@ incompatible change are allowed. However, there is an extension ...@@ -53,7 +53,7 @@ incompatible change are allowed. However, there is an extension
facility that allows backward-compatible extensions to the API to be facility that allows backward-compatible extensions to the API to be
queried and used. queried and used.
The extension mechanism is not based on on the Linux version number. The extension mechanism is not based on the Linux version number.
Instead, kvm defines extension identifiers and a facility to query Instead, kvm defines extension identifiers and a facility to query
whether a particular extension identifier is available. If it is, a whether a particular extension identifier is available. If it is, a
set of ioctls is available for application use. set of ioctls is available for application use.
......
...@@ -58,7 +58,7 @@ Protocol 2.11: (Kernel 3.6) Added a field for offset of EFI handover ...@@ -58,7 +58,7 @@ Protocol 2.11: (Kernel 3.6) Added a field for offset of EFI handover
protocol entry point. protocol entry point.
Protocol 2.12: (Kernel 3.8) Added the xloadflags field and extension fields Protocol 2.12: (Kernel 3.8) Added the xloadflags field and extension fields
to struct boot_params for for loading bzImage and ramdisk to struct boot_params for loading bzImage and ramdisk
above 4G in 64bit. above 4G in 64bit.
**** MEMORY LAYOUT **** MEMORY LAYOUT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment