Skip to content

Commit

Permalink
Documentation: Fix typos
Browse files Browse the repository at this point in the history
Fix typos in Documentation.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20230814212822.193684-4-helgaas@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
  • Loading branch information
bjorn-helgaas authored and Jonathan Corbet committed Aug 18, 2023
1 parent ebab942 commit d56b699
Show file tree
Hide file tree
Showing 130 changed files with 194 additions and 194 deletions.
2 changes: 1 addition & 1 deletion Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2624,7 +2624,7 @@

kvm-intel.flexpriority=
[KVM,Intel] Control KVM's use of FlexPriority feature
(TPR shadow). Default is 1 (enabled). Disalbe by KVM if
(TPR shadow). Default is 1 (enabled). Disable by KVM if
hardware lacks support for it.

kvm-intel.nested=
Expand Down
4 changes: 2 additions & 2 deletions Documentation/admin-guide/mm/damon/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Root

The root of the DAMON sysfs interface is ``<sysfs>/kernel/mm/damon/``, and it
has one directory named ``admin``. The directory contains the files for
privileged user space programs' control of DAMON. User space tools or deamons
privileged user space programs' control of DAMON. User space tools or daemons
having the root permission could use this directory.

kdamonds/
Expand Down Expand Up @@ -397,7 +397,7 @@ be used for online analysis or tuning of the schemes.
The statistics can be retrieved by reading the files under ``stats`` directory
(``nr_tried``, ``sz_tried``, ``nr_applied``, ``sz_applied``, and
``qt_exceeds``), respectively. The files are not updated in real time, so you
should ask DAMON sysfs interface to updte the content of the files for the
should ask DAMON sysfs interface to update the content of the files for the
stats by writing a special keyword, ``update_schemes_stats`` to the relevant
``kdamonds/<N>/state`` file.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/admin-guide/module-signing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ for which it has a public key. Otherwise, it will also load modules that are
unsigned. Any module for which the kernel has a key, but which proves to have
a signature mismatch will not be permitted to load.

Any module that has an unparseable signature will be rejected.
Any module that has an unparsable signature will be rejected.


=========================================
Expand Down
2 changes: 1 addition & 1 deletion Documentation/arch/arm/arm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ ST506 hard drives
`*configure` harddrive set to 2). I've got an internal 20MB and a great
big external 5.25" FH 64MB drive (who could ever want more :-) ).

I've just got 240K/s off it (a dd with bs=128k); thats about half of what
I've just got 240K/s off it (a dd with bs=128k); that's about half of what
RiscOS gets; but it's a heck of a lot better than the 50K/s I was getting
last week :-)

Expand Down
4 changes: 2 additions & 2 deletions Documentation/arch/arm/ixp4xx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ IXP4xx provides two methods of accessing PCI memory space:
1) A direct mapped window from 0x48000000 to 0x4bffffff (64MB).
To access PCI via this space, we simply ioremap() the BAR
into the kernel and we can use the standard read[bwl]/write[bwl]
macros. This is the preffered method due to speed but it
macros. This is the preferred method due to speed but it
limits the system to just 64MB of PCI memory. This can be
problamatic if using video cards and other memory-heavy devices.
problematic if using video cards and other memory-heavy devices.

2) If > 64MB of memory space is required, the IXP4xx can be
configured to use indirect registers to access PCI This allows
Expand Down
2 changes: 1 addition & 1 deletion Documentation/arch/arm/sunxi/clocks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Frequently asked questions about the sunxi clock system
This document contains useful bits of information that people tend to ask
about the sunxi clock system, as well as accompanying ASCII art when adequate.

Q: Why is the main 24MHz oscillator gatable? Wouldn't that break the
Q: Why is the main 24MHz oscillator gateable? Wouldn't that break the
system?

A: The 24MHz oscillator allows gating to save power. Indeed, if gated
Expand Down
2 changes: 1 addition & 1 deletion Documentation/arch/arm/swp_emulation.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Software emulation of deprecated SWP instruction (CONFIG_SWP_EMULATE)
---------------------------------------------------------------------

ARMv6 architecture deprecates use of the SWP/SWPB instructions, and recommeds
ARMv6 architecture deprecates use of the SWP/SWPB instructions, and recommends
moving to the load-locked/store-conditional instructions LDREX and STREX.

ARMv7 multiprocessing extensions introduce the ability to disable these
Expand Down
2 changes: 1 addition & 1 deletion Documentation/arch/arm/tcm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ in <asm/tcm.h>. Using this interface it is possible to:

- Have the remaining TCM RAM added to a special
allocation pool with gen_pool_create() and gen_pool_add()
and provice tcm_alloc() and tcm_free() for this
and provide tcm_alloc() and tcm_free() for this
memory. Such a heap is great for things like saving
device state when shutting off device power domains.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/arch/arm/vlocks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ the basic algorithm:
optimisation.

If there are too many CPUs to read the currently_voting array in
one transaction then multiple transations are still required. The
one transaction then multiple transactions are still required. The
implementation uses a simple loop of word-sized loads for this
case. The number of transactions is still fewer than would be
required if bytes were loaded individually.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/arch/arm64/acpi_object_usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ APMT Signature Reserved (signature == "APMT")

**Arm Performance Monitoring Table**

This table describes the properties of PMU support implmented by
This table describes the properties of PMU support implemented by
components in the system.

BERT Section 18.3 (signature == "BERT")
Expand Down
2 changes: 1 addition & 1 deletion Documentation/arch/arm64/arm-acpi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ to replace the kernel.

When a Linux driver or subsystem is first implemented using ACPI, it by
definition ends up requiring a specific version of the ACPI specification
-- it's baseline. ACPI firmware must continue to work, even though it may
-- its baseline. ACPI firmware must continue to work, even though it may
not be optimal, with the earliest kernel version that first provides support
for that baseline version of ACPI. There may be a need for additional drivers,
but adding new functionality (e.g., CPU power management) should not break
Expand Down
4 changes: 2 additions & 2 deletions Documentation/arch/openrisc/openrisc_port.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@ History
a much improved version with changes all around.

10-04-2004 Matjaz Breskvar (phoenix@bsemi.com)
alot of bugfixes all over.
a lot of bugfixes all over.
ethernet support, functional http and telnet servers.
running many standard linux apps.

26-06-2004 Matjaz Breskvar (phoenix@bsemi.com)
port to 2.6.x

30-11-2004 Matjaz Breskvar (phoenix@bsemi.com)
lots of bugfixes and enhancments.
lots of bugfixes and enhancements.
added opencores framebuffer driver.

09-10-2010 Jonas Bonn (jonas@southpole.se)
Expand Down
2 changes: 1 addition & 1 deletion Documentation/arch/x86/boot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ The kernel command line should not be located below the real-mode
code, nor should it be located in high memory.


Sample Boot Configuartion
Sample Boot Configuration
=========================

As a sample configuration, assume the following layout of the real
Expand Down
2 changes: 1 addition & 1 deletion Documentation/arch/x86/buslock.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ mechanisms to detect split locks and bus locks.
--------------------------------------

Beginning with the Tremont Atom CPU split lock operations may raise an
Alignment Check (#AC) exception when a split lock operation is attemped.
Alignment Check (#AC) exception when a split lock operation is attempted.

#DB exception for bus lock detection
------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Documentation/arch/x86/mds.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ needed for exploiting MDS requires:
data

The existence of such a construct in the kernel cannot be excluded with
100% certainty, but the complexity involved makes it extremly unlikely.
100% certainty, but the complexity involved makes it extremely unlikely.

There is one exception, which is untrusted BPF. The functionality of
untrusted BPF is limited, but it needs to be thoroughly investigated
Expand Down
2 changes: 1 addition & 1 deletion Documentation/arch/x86/sgx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ SGX will likely become unusable because the memory available to SGX is
limited. However, while this may be fatal to SGX, the rest of the kernel
is unlikely to be impacted and should continue to work.

As a result, when this happpens, user should stop running any new
As a result, when this happens, user should stop running any new
SGX workloads, (or just any new workloads), and migrate all valuable
workloads. Although a machine reboot can recover all EPC memory, the bug
should be reported to Linux developers.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/arch/xtensa/atomctl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ doing a Cached (WB) transaction and use the Memory RCW for un-cached
operations.

For systems without an coherent cache controller, non-MX, we always
use the memory controllers RCW, thought non-MX controlers likely
use the memory controllers RCW, though non-MX controllers likely
support the Internal Operation.

CUSTOMER-WARNING:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/block/data-integrity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ will require extra work due to the application tag.
sector must be set, and the bio should have all data pages
added. It is up to the caller to ensure that the bio does not
change while I/O is in progress.
Complete bio with error if prepare failed for some reson.
Complete bio with error if prepare failed for some reason.


5.3 Passing Existing Integrity Metadata
Expand Down
2 changes: 1 addition & 1 deletion Documentation/block/ublk.rst
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ The's IO is assigned by a unique tag, which is 1:1 mapping with IO
request of ``/dev/ublkb*``.

UAPI structure of ``ublksrv_io_desc`` is defined for describing each IO from
the driver. A fixed mmaped area (array) on ``/dev/ublkc*`` is provided for
the driver. A fixed mmapped area (array) on ``/dev/ublkc*`` is provided for
exporting IO info to the server; such as IO offset, length, OP/flags and
buffer address. Each ``ublksrv_io_desc`` instance can be indexed via queue id
and IO tag directly.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/bpf/cpumasks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ can be used to query the contents of cpumasks.
----

Some example usages of these querying kfuncs were shown above. We will not
replicate those exmaples here. Note, however, that all of the aforementioned
replicate those examples here. Note, however, that all of the aforementioned
kfuncs are tested in `tools/testing/selftests/bpf/progs/cpumask_success.c`_, so
please take a look there if you're looking for more examples of how they can be
used.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/bpf/graph_ds_impl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Introduction

The BPF map API has historically been the main way to expose data structures
of various types for use within BPF programs. Some data structures fit naturally
with the map API (HASH, ARRAY), others less so. Consequentially, programs
with the map API (HASH, ARRAY), others less so. Consequently, programs
interacting with the latter group of data structures can be hard to parse
for kernel programmers without previous BPF experience.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/fault-injection/fault-injection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ proc entries
Error Injectable Functions
--------------------------

This part is for the kenrel developers considering to add a function to
This part is for the kernel developers considering to add a function to
ALLOW_ERROR_INJECTION() macro.

Requirements for the Error Injectable Functions
Expand Down
2 changes: 1 addition & 1 deletion Documentation/fb/deferred_io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ works:

- userspace app like Xfbdev mmaps framebuffer
- deferred IO and driver sets up fault and page_mkwrite handlers
- userspace app tries to write to mmaped vaddress
- userspace app tries to write to mmapped vaddress
- we get pagefault and reach fault handler
- fault handler finds and returns physical page
- we get page_mkwrite where we add this page to a list
Expand Down
2 changes: 1 addition & 1 deletion Documentation/fb/sm712fb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ Missing Features
================
(alias TODO list)

* 2D acceleratrion
* 2D acceleration
* dual-head support
2 changes: 1 addition & 1 deletion Documentation/fb/sstfb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Module insertion
the device will be /dev/fb0. You can check this by doing a
cat /proc/fb. You can find a copy of con2fb in tools/ directory.
if you don't have another fb device, this step is superfluous,
as the console subsystem automagicaly binds ttys to the fb.
as the console subsystem automagically binds ttys to the fb.
#. switch to the virtual console you just mapped. "tadaaa" ...

Module removal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# Feature name: thread-info-in-task
# Kconfig: THREAD_INFO_IN_TASK
# description: arch makes use of the core kernel facility to embedd thread_info in task_struct
# description: arch makes use of the core kernel facility to embed thread_info in task_struct
#
-----------------------
| arch |status|
Expand Down
2 changes: 1 addition & 1 deletion Documentation/filesystems/9p.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Options

cache=mode specifies a caching policy. By default, no caches are used.
The mode can be specified as a bitmask or by using one of the
prexisting common 'shortcuts'.
preexisting common 'shortcuts'.
The bitmask is described below: (unspecified bits are reserved)

========== ====================================================
Expand Down
4 changes: 2 additions & 2 deletions Documentation/filesystems/befs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ iocharset=xxx Use xxx as the name of the NLS translation table.
debug The driver will output debugging information to the syslog.
============= ===========================================================

How to Get Lastest Version
==========================
How to Get Latest Version
=========================

The latest version is currently available at:
<http://befs-driver.sourceforge.net/>
Expand Down
2 changes: 1 addition & 1 deletion Documentation/filesystems/caching/cachefiles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ process is the target of an operation by some other process (SIGKILL for
example).

The subjective security holds the active security properties of a process, and
may be overridden. This is not seen externally, and is used whan a process
may be overridden. This is not seen externally, and is used when a process
acts upon another object, for example SIGKILLing another process or opening a
file.

Expand Down
6 changes: 3 additions & 3 deletions Documentation/filesystems/caching/netfs-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ A filesystem would typically have a volume cookie for each superblock.

The filesystem then acquires a cookie for each file within that volume using an
object key. Object keys are binary blobs and only need to be unique within
their parent volume. The cache backend is reponsible for rendering the binary
their parent volume. The cache backend is responsible for rendering the binary
blob into something it can use and may employ hash tables, trees or whatever to
improve its ability to find an object. This is transparent to the network
filesystem.
Expand Down Expand Up @@ -91,7 +91,7 @@ actually required and it can use the fscache I/O API directly.
Volume Registration
===================

The first step for a network filsystem is to acquire a volume cookie for the
The first step for a network filesystem is to acquire a volume cookie for the
volume it wants to access::

struct fscache_volume *
Expand Down Expand Up @@ -119,7 +119,7 @@ is provided. If the coherency data doesn't match, the entire cache volume will
be invalidated.

This function can return errors such as EBUSY if the volume key is already in
use by an acquired volume or ENOMEM if an allocation failure occured. It may
use by an acquired volume or ENOMEM if an allocation failure occurred. It may
also return a NULL volume cookie if fscache is not enabled. It is safe to
pass a NULL cookie to any function that takes a volume cookie. This will
cause that function to do nothing.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/filesystems/configfs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ to be used.
If binary attribute is readable and the config_item provides a
ct_item_ops->read_bin_attribute() method, that method will be called
whenever userspace asks for a read(2) on the attribute. The converse
will happen for write(2). The reads/writes are bufferred so only a
will happen for write(2). The reads/writes are buffered so only a
single read/write will occur; the attributes' need not concern itself
with it.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/filesystems/dax.rst
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ The DAX code does not work correctly on architectures which have virtually
mapped caches such as ARM, MIPS and SPARC.

Calling :c:func:`get_user_pages()` on a range of user memory that has been
mmaped from a `DAX` file will fail when there are no 'struct page' to describe
mmapped from a `DAX` file will fail when there are no 'struct page' to describe
those pages. This problem has been addressed in some device drivers
by adding optional struct page support for pages under the control of
the driver (see `CONFIG_NVDIMM_PFN` in ``drivers/nvdimm`` for an example of
Expand Down
4 changes: 2 additions & 2 deletions Documentation/filesystems/devpts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ The Devpts Filesystem
=====================

Each mount of the devpts filesystem is now distinct such that ptys
and their indicies allocated in one mount are independent from ptys
and their indicies in all other mounts.
and their indices allocated in one mount are independent from ptys
and their indices in all other mounts.

All mounts of the devpts filesystem now create a ``/dev/pts/ptmx`` node
with permissions ``0000``.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/filesystems/ext4/super.rst
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ The ``s_default_mount_opts`` field is any combination of the following:
* - 0x0010
- Do not support 32-bit UIDs. (EXT4_DEFM_UID16)
* - 0x0020
- All data and metadata are commited to the journal.
- All data and metadata are committed to the journal.
(EXT4_DEFM_JMODE_DATA)
* - 0x0040
- All data are flushed to the disk before metadata are committed to the
Expand Down
6 changes: 3 additions & 3 deletions Documentation/filesystems/f2fs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ errors=%s Specify f2fs behavior on critical errors. This supports modes:
====================== =============== =============== ========
mode continue remount-ro panic
====================== =============== =============== ========
access ops normal noraml N/A
access ops normal normal N/A
syscall errors -EIO -EROFS N/A
mount option rw ro N/A
pending dir write keep keep N/A
Expand Down Expand Up @@ -480,7 +480,7 @@ Note: please refer to the manpage of dump.f2fs(8) to get full option list.

sload.f2fs
----------
The sload.f2fs gives a way to insert files and directories in the exisiting disk
The sload.f2fs gives a way to insert files and directories in the existing disk
image. This tool is useful when building f2fs images given compiled files.

Note: please refer to the manpage of sload.f2fs(8) to get full option list.
Expand Down Expand Up @@ -792,7 +792,7 @@ Allocating disk space
as a method of optimally implementing that function.

However, once F2FS receives ioctl(fd, F2FS_IOC_SET_PIN_FILE) in prior to
fallocate(fd, DEFAULT_MODE), it allocates on-disk block addressess having
fallocate(fd, DEFAULT_MODE), it allocates on-disk block addresses having
zero or random data, which is useful to the below scenario where:

1. create(fd)
Expand Down
2 changes: 1 addition & 1 deletion Documentation/filesystems/gfs2-glocks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The minimum hold time for each lock is the time after a remote lock
grant for which we ignore remote demote requests. This is in order to
prevent a situation where locks are being bounced around the cluster
from node to node with none of the nodes making any progress. This
tends to show up most with shared mmaped files which are being written
tends to show up most with shared mmapped files which are being written
to by multiple nodes. By delaying the demotion in response to a
remote callback, that gives the userspace program time to make
some progress before the pages are unmapped.
Expand Down
Loading

0 comments on commit d56b699

Please sign in to comment.