Skip to content

Commit ee2fe81

Browse files
committed
Merge tag 'docs-6.18' of git://git.lwn.net/linux
Pull documentation updates from Jonathan Corbet: "It has been a relatively busy cycle in docsland, with changes all over: - Bring the kernel memory-model docs into the Sphinx build in the "literal include" mode. - Lots of build-infrastructure work, further cleaning up long-term kernel-doc technical debt. The sphinx-pre-install tool has been converted to Python and updated for current systems. - A new tool to detect when documents have been moved and generate HTML redirects; this can be used on kernel.org (or any other site hosting the rendered docs) to avoid breaking links. - Automated processing of the YAML files describing the netlink protocol. - A significant update of the maintainer's PGP guide. ... and a seemingly endless series of typo fixes, build-problem fixes, etc" * tag 'docs-6.18' of git://git.lwn.net/linux: (193 commits) Documentation/features: Update feature lists for 6.17-rc7 docs: remove cdomain.py Documentation/process: submitting-patches: fix typo in "were do" docs: dev-tools/lkmm: Fix typo of missing file extension Documentation: trace: histogram: Convert ftrace docs cross-reference Documentation: trace: histogram-design: Wrap introductory note in note:: directive Documentation: trace: historgram-design: Separate sched_waking histogram section heading and the following diagram Documentation: trace: histogram-design: Trim trailing vertices in diagram explanation text Documentation: trace: histogram: Fix histogram trigger subsection number order docs: driver-api: fix spelling of "buses". Documentation: fbcon: Use admonition directives Documentation: fbcon: Reindent 8th step of attach/detach/unload Documentation: fbcon: Add boot options and attach/detach/unload section headings docs: filesystems: sysfs: add remaining top level sysfs directory descriptions docs: filesystems: sysfs: clarify symlink destinations in dev and bus/devices descriptions docs: filesystems: sysfs: remove top level sysfs net directory docs: maintainer: Fix ambiguous subheading formatting docs: kdoc: a few more dump_typedef() tweaks docs: kdoc: remove redundant comment stripping in dump_typedef() docs: kdoc: remove some dead code in dump_typedef() ...
2 parents 50647a1 + 99510c3 commit ee2fe81

File tree

173 files changed

+7050
-3564
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+7050
-3564
lines changed

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[MASTER]
2-
init-hook='import sys; sys.path += ["scripts/lib/kdoc", "scripts/lib/abi"]'
2+
init-hook='import sys; sys.path += ["scripts/lib/kdoc", "scripts/lib/abi", "tools/docs/lib"]'

Documentation/.renames.txt

Lines changed: 1191 additions & 0 deletions
Large diffs are not rendered by default.

Documentation/Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ ifeq ($(HAVE_LATEXMK),1)
6060
endif #HAVE_LATEXMK
6161

6262
# Internal variables.
63-
PAPEROPT_a4 = -D latex_paper_size=a4
64-
PAPEROPT_letter = -D latex_paper_size=letter
63+
PAPEROPT_a4 = -D latex_elements.papersize=a4paper
64+
PAPEROPT_letter = -D latex_elements.papersize=letterpaper
6565
ALLSPHINXOPTS = -D kerneldoc_srctree=$(srctree) -D kerneldoc_bin=$(KERNELDOC)
6666
ALLSPHINXOPTS += $(PAPEROPT_$(PAPER)) $(SPHINXOPTS)
6767
ifneq ($(wildcard $(srctree)/.config),)
@@ -87,7 +87,7 @@ loop_cmd = $(echo-cmd) $(cmd_$(1)) || exit;
8787
PYTHONPYCACHEPREFIX ?= $(abspath $(BUILDDIR)/__pycache__)
8888

8989
quiet_cmd_sphinx = SPHINX $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
90-
cmd_sphinx = $(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/userspace-api/media $2 && \
90+
cmd_sphinx = \
9191
PYTHONPYCACHEPREFIX="$(PYTHONPYCACHEPREFIX)" \
9292
BUILDDIR=$(abspath $(BUILDDIR)) SPHINX_CONF=$(abspath $(src)/$5/$(SPHINX_CONF)) \
9393
$(PYTHON3) $(srctree)/scripts/jobserver-exec \
@@ -108,6 +108,9 @@ htmldocs:
108108
@$(srctree)/scripts/sphinx-pre-install --version-check
109109
@+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,html,$(var),,$(var)))
110110

111+
htmldocs-redirects: $(srctree)/Documentation/.renames.txt
112+
@tools/docs/gen-redirects.py --output $(BUILDDIR) < $<
113+
111114
# If Rust support is available and .config exists, add rustdoc generated contents.
112115
# If there are any, the errors from this make rustdoc will be displayed but
113116
# won't stop the execution of htmldocs
@@ -171,11 +174,11 @@ refcheckdocs:
171174

172175
cleandocs:
173176
$(Q)rm -rf $(BUILDDIR)
174-
$(Q)$(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/userspace-api/media clean
175177

176178
dochelp:
177179
@echo ' Linux kernel internal documentation in different formats from ReST:'
178180
@echo ' htmldocs - HTML'
181+
@echo ' htmldocs-redirects - generate HTML redirects for moved pages'
179182
@echo ' texinfodocs - Texinfo'
180183
@echo ' infodocs - Info'
181184
@echo ' latexdocs - LaTeX'

Documentation/PCI/endpoint/pci-endpoint-cfs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ The <EPF Device> directory can have a list of symbolic links
8686
be created by the user to represent the virtual functions that are bound to
8787
the physical function. In the above directory structure <EPF Device 11> is a
8888
physical function and <EPF Device 31> is a virtual function. An EPF device once
89-
it's linked to another EPF device, cannot be linked to a EPC device.
89+
it's linked to another EPF device, cannot be linked to an EPC device.
9090

9191
EPC Device
9292
==========
@@ -108,7 +108,7 @@ entries corresponding to EPC device will be created by the EPC core.
108108
The <EPC Device> directory will have a list of symbolic links to
109109
<EPF Device>. These symbolic links should be created by the user to
110110
represent the functions present in the endpoint device. Only <EPF Device>
111-
that represents a physical function can be linked to a EPC device.
111+
that represents a physical function can be linked to an EPC device.
112112

113113
The <EPC Device> directory will also have a *start* field. Once
114114
"1" is written to this field, the endpoint device will be ready to

Documentation/PCI/endpoint/pci-endpoint.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ by the PCI endpoint function driver.
197197
* pci_epf_register_driver()
198198

199199
The PCI Endpoint Function driver should implement the following ops:
200-
* bind: ops to perform when a EPC device has been bound to EPF device
201-
* unbind: ops to perform when a binding has been lost between a EPC
200+
* bind: ops to perform when an EPC device has been bound to EPF device
201+
* unbind: ops to perform when a binding has been lost between an EPC
202202
device and EPF device
203203
* add_cfs: optional ops to create function specific configfs
204204
attributes
@@ -251,7 +251,7 @@ pci-ep-cfs.c can be used as reference for using these APIs.
251251
* pci_epf_bind()
252252

253253
pci_epf_bind() should be invoked when the EPF device has been bound to
254-
a EPC device.
254+
an EPC device.
255255

256256
* pci_epf_unbind()
257257

Documentation/RCU/lockdep.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ or the RCU-protected data that it points to can change concurrently.
106106
Like rcu_dereference(), when lockdep is enabled, RCU list and hlist
107107
traversal primitives check for being called from within an RCU read-side
108108
critical section. However, a lockdep expression can be passed to them
109-
as a additional optional argument. With this lockdep expression, these
109+
as an additional optional argument. With this lockdep expression, these
110110
traversal primitives will complain only if the lockdep expression is
111111
false and they are called from outside any RCU read-side critical section.
112112

Documentation/RCU/stallwarn.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ warnings:
119119
uncommon in large datacenter. In one memorable case some decades
120120
back, a CPU failed in a running system, becoming unresponsive,
121121
but not causing an immediate crash. This resulted in a series
122-
of RCU CPU stall warnings, eventually leading the realization
122+
of RCU CPU stall warnings, eventually leading to the realization
123123
that the CPU had failed.
124124

125125
The RCU, RCU-sched, RCU-tasks, and RCU-tasks-trace implementations have

Documentation/admin-guide/LSM/SafeSetID.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ namespace). The higher level goal is to allow for uid-based sandboxing of system
4141
services without having to give out CAP_SETUID all over the place just so that
4242
non-root programs can drop to even-lesser-privileged uids. This is especially
4343
relevant when one non-root daemon on the system should be allowed to spawn other
44-
processes as different uids, but its undesirable to give the daemon a
44+
processes as different uids, but it's undesirable to give the daemon a
4545
basically-root-equivalent CAP_SETUID.
4646

4747

Documentation/admin-guide/RAS/main.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ interface.
253253
Some architectures have ECC detectors for L1, L2 and L3 caches,
254254
along with DMA engines, fabric switches, main data path switches,
255255
interconnections, and various other hardware data paths. If the hardware
256-
reports it, then a edac_device device probably can be constructed to
256+
reports it, then an edac_device device probably can be constructed to
257257
harvest and present that to userspace.
258258

259259

Documentation/admin-guide/aoe/udev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# They may be installed along the following lines. Check the section
33
# 8 udev manpage to see whether your udev supports SUBSYSTEM, and
44
# whether it uses one or two equal signs for SUBSYSTEM and KERNEL.
5-
#
5+
#
66
# ecashin@makki ~$ su
77
# Password:
88
# bash# find /etc -type f -name udev.conf
@@ -13,7 +13,7 @@
1313
# 10-wacom.rules 50-udev.rules
1414
# bash# cp /path/to/linux/Documentation/admin-guide/aoe/udev.txt \
1515
# /etc/udev/rules.d/60-aoe.rules
16-
#
16+
#
1717

1818
# aoe char devices
1919
SUBSYSTEM=="aoe", KERNEL=="discover", NAME="etherd/%k", GROUP="disk", MODE="0220"
@@ -22,5 +22,5 @@ SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME="etherd/%k", GROUP="disk", MODE="02
2222
SUBSYSTEM=="aoe", KERNEL=="revalidate", NAME="etherd/%k", GROUP="disk", MODE="0220"
2323
SUBSYSTEM=="aoe", KERNEL=="flush", NAME="etherd/%k", GROUP="disk", MODE="0220"
2424

25-
# aoe block devices
25+
# aoe block devices
2626
KERNEL=="etherd*", GROUP="disk"

0 commit comments

Comments
 (0)