Mauro Carvalho Chehab
d6a21f2d73
objtool: update objtool.txt references
...
Changeset a8e35fece4 ("objtool: Update documentation")
renamed: tools/objtool/Documentation/stack-validation.txt
to: tools/objtool/Documentation/objtool.txt.
Update the cross-references accordingly.
Fixes: a8e35fece4 ("objtool: Update documentation")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/ec285ece6348a5be191aebe45f78d06b3319056b.1656234456.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 13:10:00 -06:00
Mauro Carvalho Chehab
8a5d192166
Documentation: KVM: update s390-diag.rst reference
...
Changeset daec8d4083 ("Documentation: KVM: add separate directories for architecture-specific documentation")
renamed: Documentation/virt/kvm/s390-diag.rst
to: Documentation/virt/kvm/s390/s390-diag.rst.
Update its cross-reference accordingly.
Fixes: daec8d4083 ("Documentation: KVM: add separate directories for architecture-specific documentation")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/85b81e4678bbe23d0e9692616798762a6465f0a3.1656234456.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 13:10:00 -06:00
Mauro Carvalho Chehab
48b36e59ac
Documentation: KVM: update msr.rst reference
...
Changeset daec8d4083 ("Documentation: KVM: add separate directories for architecture-specific documentation")
renamed: Documentation/virt/kvm/msr.rst
to: Documentation/virt/kvm/x86/msr.rst.
Update its cross-reference accordingly.
Fixes: daec8d4083 ("Documentation: KVM: add separate directories for architecture-specific documentation")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/5652b7f5caff3b817a660b75f1f319a2f8962380.1656234456.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 13:09:59 -06:00
Mauro Carvalho Chehab
7ac3945d8e
Documentation: KVM: update amd-memory-encryption.rst references
...
Changeset daec8d4083 ("Documentation: KVM: add separate directories for architecture-specific documentation")
renamed: Documentation/virt/kvm/amd-memory-encryption.rst
to: Documentation/virt/kvm/x86/amd-memory-encryption.rst.
Update the cross-references accordingly.
Fixes: daec8d4083 ("Documentation: KVM: add separate directories for architecture-specific documentation")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/fd80db889e34aae87a4ca88cad94f650723668f4.1656234456.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 13:09:59 -06:00
Mauro Carvalho Chehab
e38fd63749
Documentation: KVM: update s390-pv.rst reference
...
Changesets: daec8d4083 ("Documentation: KVM: add separate directories for architecture-specific documentation")
and: daec8d4083 ("Documentation: KVM: add separate directories for architecture-specific documentation")
renamed: Documentation/virt/kvm/s390-pv.rst
to: Documentation/virt/kvm/s390/s390-pv.rst.
Update its cross-reference accordingly.
Fixes: daec8d4083 ("Documentation: KVM: add separate directories for architecture-specific documentation")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/e2676f087d287db0bc31ae7c05c80ce5adf93333.1656234456.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 13:09:59 -06:00
Mauro Carvalho Chehab
c02b872a7c
Documentation: update watch_queue.rst references
...
Changeset f5461124d5 ("Documentation: move watch_queue to core-api")
renamed: Documentation/watch_queue.rst
to: Documentation/core-api/watch_queue.rst.
Update the cross-references accordingly.
Fixes: f5461124d5 ("Documentation: move watch_queue to core-api")
Reviewed-by: Randy Dunlap <rdunlap@infradead.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/1c220de9c58f35e815a3df9458ac2bea323c8bfb.1656234456.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 13:09:59 -06:00
Mauro Carvalho Chehab
97e937dec7
docs: zh_CN/vm/zsmalloc.rst: fix a typo
...
typo:
zs_malloc.rst -> zsmalloc.rst
Fixes: 6dbc3a5bdb ("docs/zh_CN: add vm zsmalloc translation")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Acked-by: Yanteng Si<siyanteng@loongson.cn >
Link: https://lore.kernel.org/r/25a9fff20d39a6638b8a7c0fefa0767e77d96dec.1656234456.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 13:09:59 -06:00
Mauro Carvalho Chehab
36395fb365
docs: zh_CN/vm: fix a typo for page reporting ReST file
...
typo:
_free_page_reporting.rst -> free_page_reporting.rst
Fixes: 9859b277bf ("docs/zh_CN: add vm frontswap translation")
Fixes: adeacecbd3 ("docs/zh_CN: add free_page_reporting translation")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Acked-by: Yanteng Si<siyanteng@loongson.cn >
Link: https://lore.kernel.org/r/c7db8f975f461eaebd7ea7489ff9666d89e121c6.1656234456.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 13:09:59 -06:00
Mauro Carvalho Chehab
695c62a823
docs: zh_CN: fix a broken reference
...
The location of the rust doc is wrong (probably a typo). Fix it.
Fixes: 3a59151564 ("docs/zh_CN: Add translation zh_CN/doc-guide/kernel-doc.rst")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/94fe771609d32583fee41f47fe29433cbce5b04e.1656234456.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 13:09:59 -06:00
Mauro Carvalho Chehab
e13ce769a0
docs: zh_CN/devicetree: fix typos
...
The devicetree directory was using wrong case:
Devicetree/ -> devicetree/
Fixes: a17b0169f2 ("docs/zh_CN: add devicetree index translation")
Fixes: c56481299d ("docs/zh_CN: add devicetree usage-model translation")
Fixes: 09d4466d3f ("docs/zh_CN: add devicetree of_unittest translation")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Acked-by: Yanteng Si<siyanteng@loongson.cn >
Link: https://lore.kernel.org/r/b4ca010ef223ab9cb76e8caa0a3cde734e0b6b2f.1656234456.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 13:09:59 -06:00
Mauro Carvalho Chehab
5fe84fe446
docs: zh_CN: page_frags.rst: fix a broken reference
...
typo:
page_frag.rst -> page_frags.rst
Fixes: f51debc256 ("docs/zh_CN: add vm page_frags translation")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Acked-by: Yanteng Si<siyanteng@loongson.cn >
Link: https://lore.kernel.org/r/a12e18044ddb2ca16a1fed10823d59558d6de405.1656234456.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 13:09:59 -06:00
Mauro Carvalho Chehab
752f596371
docs: filesystems: update netfs-api.rst reference
...
Changeset efc930fa1d ("docs: filesystems: caching/netfs-api.txt: convert it to ReST")
renamed: Documentation/filesystems/caching/netfs-api.txt
to: Documentation/filesystems/caching/netfs-api.rst.
Update its cross-reference accordingly.
Fixes: efc930fa1d ("docs: filesystems: caching/netfs-api.txt: convert it to ReST")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/5f867f01d42c3e65e111167739ed1a41a26623f9.1656234456.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 13:09:59 -06:00
Mauro Carvalho Chehab
335220ab01
docs: netdev: update maintainer-netdev.rst reference
...
Changeset 8df0136376 ("docs: netdev: move the netdev-FAQ to the process pages")
renamed: Documentation/networking/netdev-FAQ.rst
to: Documentation/process/maintainer-netdev.rst.
Update its cross-reference accordingly.
Fixes: 8df0136376 ("docs: netdev: move the netdev-FAQ to the process pages")
Acked-by: Jakub Kicinski <kuba@kernel.org >
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/aed0482b3d931bfcfe84f38197526edcbb8fd830.1656234456.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 13:09:58 -06:00
Jonathan Corbet
309027b57c
docs: automarkup: do not look up symbols twice
...
The automarkup code tries to look up symbols once as a function, and once
as a macro. The Sphinx C domain code, though, totally ignores that
distinction and will return the same results either way. So just look
things up once and be done with it; the resulting output does not change,
but htmldocs build time drops by about 5%.
Tested-by: Akira Yokosawa <akiyks@gmail.com >
Link: https://lore.kernel.org/r/20220630163630.714673-3-corbet@lwn.net
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 12:57:55 -06:00
Jonathan Corbet
26c82972f2
docs: automarkup: track failed cross-reference attempts
...
The automarkup code tries to create a lot of cross-references that don't
exist. Cross-reference lookups are expensive, especially in later versions
of Sphinx, so there is value in avoiding unnecessary ones. Remember
attempts that failed and do not retry them.
This improves the htmldocs build time by 5-10% depending on the phase of
the moon and other factors.
Tested-by: Akira Yokosawa <akiyks@gmail.com >
Link: https://lore.kernel.org/r/20220630163630.714673-2-corbet@lwn.net
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 12:57:48 -06:00
Mauro Carvalho Chehab
f2c1ff0d3b
docs: tegra194-hte.rst: don't include gpiolib.c twice
...
All extern functions of drivers/gpio/gpiolib.c are already
inside the Kernel documentation, as driver-api/gpio/index.rst
already includes it.
Placing a kernel-doc here will only cause mess, as the same symbol
will be placed on two parts of the document, causing breakages
in cross-references.
So, instead, add a cross-reference there.
This solves those Sphinx 3.1+ warnings:
.../Documentation/driver-api/hte/tegra194-hte:28: ./drivers/gpio/gpiolib.c:2464: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2464.
.../Documentation/driver-api/hte/tegra194-hte:28: ./drivers/gpio/gpiolib.c:2493: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2493.
.../Documentation/driver-api/hte/tegra194-hte.rst:2464: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2464.
.../Documentation/driver-api/hte/tegra194-hte.rst:2464: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2464.
.../Documentation/driver-api/hte/tegra194-hte.rst:2464: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2464.
.../Documentation/driver-api/hte/tegra194-hte.rst:2493: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2493.
.../Documentation/driver-api/hte/tegra194-hte.rst:2493: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2493.
.../Documentation/driver-api/hte/tegra194-hte.rst:2493: WARNING: Duplicate C declaration, also defined at driver-api/gpio/index:2493.
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/de81b472f552bd651f140f0aa779a29652fffa62.1656759989.git.mchehab@kernel.org
Acked-by: Dipen Patel <dipenp@nvidia.com >
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 12:53:43 -06:00
Mauro Carvalho Chehab
02bba8ca90
scripts: sphinx-pre-install: place a warning for Sphinx >= 3.0
...
Newer versions of Sphinx have a known bug:
https://github.com/sphinx-doc/sphinx/pull/8313
Those currently produces 11 false-positive warnings On Sphinx
version 3.1+.
While Sphinx fix is not applied, let's warn adventurers that would
be using Sphinx installed via distro packages.
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/085e0ada65c11da9303d07e70c510dc45f21315b.1656756450.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 12:47:34 -06:00
Mauro Carvalho Chehab
6a5d7320fb
scripts: sphinx-pre-install: provide both venv and package installs
...
As it is not a consensus about installing sphinx using venv, and
modern distributions are now shipping with Sphinx versions above
the minimal requirements to build the docs, provide both venv
and package install commands by default.
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/7c99d985df204c73e3daafd5fd2f30a31269405d.1656756450.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 12:47:34 -06:00
Mauro Carvalho Chehab
5b27d2551c
scripts: sphinx-pre-install: check for PDF min version later on
...
Better to add the PDF note late for venv recommendation.
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/8e117aabe6dfa1b1ec92dccd20e801393c977667.1656756450.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 12:47:34 -06:00
Mauro Carvalho Chehab
ed2133b7b5
scripts: sphinx-pre-install: report broken venv
...
After distro upgrades, the directory names for python may change.
On such case, the previously-created venv will be broken, and
sphinx-build won't run.
Add a logic to report it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/f117f03555b0636d2be0b68f3a23b1d3f03ccf1d.1656756450.git.mchehab@kernel.org
[jc: fixed typo in warning message]
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 12:47:10 -06:00
Mauro Carvalho Chehab
7c2d45a347
scripts: sphinx-pre-install: fix venv version check logic
...
The logic which checks if the venv version is good enough
but was not activated is broken: it is checking against
the wrong val, making it to recommend to re-create a venv
every time. Fix it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org >
Link: https://lore.kernel.org/r/afe01b7863fd655986d84ace8948f3d7aede796d.1656756450.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-07 12:45:32 -06:00
Akira Yokosawa
4d627ef12b
docs/doc-guide: Mention make variable SPHINXDIRS
...
SPHINXDIRS is useful when you want to test build only those
documents affected by your changes.
Mention it in the "Sphinx Build" section.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com >
Cc: Maciej W. Rozycki <macro@orcam.me.uk >
Link: https://lore.kernel.org/r/50d6f0bc-030d-9529-0665-e2b3e7c792d8@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-30 12:23:38 -06:00
David Reaver
2bc6430884
scripts: get_feat.pl: use /usr/bin/env to find perl
...
I tried running `make pdfdocs` on NixOS, but it failed because
get_feat.pl uses a shebang line with /usr/bin/perl, and that file path
doesn't exist on NixOS. Using the more portable /usr/bin/env perl fixes
the problem.
Signed-off-by: David Reaver <me@davidreaver.com >
Link: https://lore.kernel.org/r/20220625211548.1200198-1-me@davidreaver.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-30 12:22:17 -06:00
Tang Yizhou
ee5956bb9c
docs/zh_CN: Add mutex-design Chinese translation
...
Translate locking/mutex-design.rst into Chinese.
Signed-off-by: Tang Yizhou <yizhou.tang@shopee.com >
Reviewed-by: Alex Shi <alexs@kernel.org >
Reviewed-by: Yanteng Si<siyanteng@loongson.cn >
Link: https://lore.kernel.org/r/20220629013240.65386-3-yizhou.tang@shopee.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-30 11:27:46 -06:00
Tang Yizhou
bf02fb07c7
docs/zh_CN: Show the Chinese translation of spinlocks
...
Last time I forgot to edit locking/index.rst so the Chinese translation
of spinlocks hasn't been shown on web yet.
Signed-off-by: Tang Yizhou <yizhou.tang@shopee.com >
Reviewed-by: Yanteng Si<siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/20220629013240.65386-2-yizhou.tang@shopee.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-30 11:27:46 -06:00
Akira Yokosawa
5372de4e45
docs/doc-guide: Put meta title for kernel-doc HTML page
...
kernel-doc.rst has two 1st level section titles of "Writing
kernel-doc comments" and "Including kernel-doc comments".
Therefore, rather than using the first one, put a meta title
of "Kernel-doc comments" for the title of the resulting HTML
page by using the "title" directive.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com >
Link: https://lore.kernel.org/r/15636c13-7fa2-f973-6d3d-361222b839ef@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-27 16:24:40 -06:00
Akira Yokosawa
7c43214ddd
docs/doc-guide: Add footnote on Inkscape for better images in PDF documents
...
With kernel releases v5.18 and later, if you have Inkscape, images
embedded in PDF documents are of vector graphics, not the raster
images as are the case with pre-v5.18 releases.
Even with pre-5.18 releases, having Inkscape would improve images
converted from some of SVG files which are not fully covered by the
limited capability of rsvg-convert(1) [1].
Add a footnote mentioning the expected improvements of such images.
Link: https://gitlab.gnome.org/GNOME/librsvg#non-goals-of-librsvg [1]
Signed-off-by: Akira Yokosawa <akiyks@gmail.com >
Link: https://lore.kernel.org/r/81cddbde-bc28-bec1-fca4-3c8fe2df502f@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-27 16:24:40 -06:00
Muhammad Usama Anjum
8206361063
docs/kselftest: add more guidelines for adding new tests
...
Improve and add instructions to add new tests. Add build commands to
test before sending the new test patch.
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com >
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org >
Link: https://lore.kernel.org/r/20220521073651.4191910-1-usama.anjum@collabora.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-27 16:24:40 -06:00
Wu XiangCheng
6de8d58cf9
docs/zh_CN: Update zh_CN/kernel-hacking/hacking.rst to 5.19-rc1
...
* update to commit f35cf1a59e ("Documentation: kernel-hacking: minor
edits for style")
* fix a homophone typo reported by Li Feng
Reported-by: Li Feng <felixlee868@icloud.com >
Signed-off-by: Wu XiangCheng <bobwxc@email.cn >
Reviewed-by: Yanteng Si <siyanteng@loongson.cn >
Link: https://lore.kernel.org/r/Yp41+eTjoPRa4hrl@bobwxc.mipc
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-27 16:24:40 -06:00
Yanteng Si
17c260504f
docs/zh_CN: add vm vmalloced-kernel-stacks translation
...
Translate .../vm/vmalloced-kernel-stacks.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Link: https://lore.kernel.org/r/01de54c7ecfd1999a636ee59ac40b79917251af2.1654585011.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-27 16:24:40 -06:00
Yanteng Si
3f39b3d70f
docs/zh_CN: add vm page_migration translation
...
Translate .../vm/page_migration.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Link: https://lore.kernel.org/r/44bc4486e5019f689bcbec20a629a9f7800ece33.1654585011.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-27 16:24:40 -06:00
Binbin Zhou
f41c74af10
docs/zh_CN: riscv: Update the translation of vm-layout.rst to 5.19-rc1
...
Synchronous translation from upstream commit 9d19f2b525
("Documentation: riscv: Add sv48 description to VM layout")
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Link: https://lore.kernel.org/r/10cd6a241a0266d1d19ee5f0b2177d7d14d17ed2.1654685338.git.zhoubinbin@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-27 16:24:39 -06:00
Binbin Zhou
1a5b8aa25f
docs/zh_CN: riscv: Remove the translation of pmu.rst
...
Synchronous translation from the following:
[1]: commit 23b1f18326ec("Documentation: riscv:
Remove the old documentation")
[2]: commit 8933e7f2e3 ("Documentation: riscv: remove
non-existent directory from table of contents")
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Link: https://lore.kernel.org/r/6fe45d69210300a6c065262470bce963f8dc0ec3.1654685338.git.zhoubinbin@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-27 16:24:39 -06:00
Dongliang Mu
87444fdce5
docs: dev-tools: modify SPL reference URL to actual SPL doc entry
...
Fix the invalid url about Semantic Patch Language
Signed-off-by: Dongliang Mu <mudongliangabcd@gmail.com >
Link: https://lore.kernel.org/r/20220613071243.12961-1-dzm91@hust.edu.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-27 16:24:39 -06:00
Chao Liu
d218bee86a
docs: filesystems: f2fs: fix description about compress ioctl
...
Since commit c61404153e ("f2fs: introduce FI_COMPRESS_RELEASED
instead of using IMMUTABLE bit"), we no longer use the IMMUTABLE
bit to prevent writing data for compression. Let's correct the
corresponding documentation.
BTW, this patch fixes some alignment issues in the compress
metadata layout.
Signed-off-by: Chao Liu <liuchao@coolpad.com >
Link: https://lore.kernel.org/r/20220613020800.3379482-1-chaoliu719@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-27 16:24:39 -06:00
Yanteng Si
910cb3137c
docs/zh_CN: Update the translation of vm index to 5.19-rc1
...
update to commit 481cc97349 ("mm,doc: Add new
documentation structure")
Note: There are some empty files that do not need to be updated for now,
they are:
bootmem,
oom,
page_allocation,
page_cache,
page_reclaim,
page_tables,
physical_memory
process_addrs,
shmfs,
slab,
vmalloc,
swap.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/35d10864fb9b57bf288d4efa5642f93a60079029.1655362610.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-27 16:24:39 -06:00
Yanteng Si
34191e04cd
docs/zh_CN: Update the translation of page_owner to 5.19-rc1
...
update to commit d1ed51fcdb ("docs: vm/page_owner: tweak
literal block in STANDARD FORMAT SPECIFIERS")
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/e96557b73b036c33a9fa5abdab0c541704235e92.1655362610.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-27 16:24:39 -06:00
Yanteng Si
8829467930
docs/zh_CN: Update the translation of highmem to 5.19-rc1
...
update to commit 110bf7a523 ("Documentation/vm: rework
"Temporary Virtual Mappings" section")
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/76c418554d9b8d395f7e8331e8e3b89d1b7beff0.1655362610.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-27 16:24:39 -06:00
Steven Lung
5b8d9ee003
docs: UML: fix typo
...
Replace 'absense' with 'absence'.
Signed-off-by: Steven Lung <1030steven@gmail.com >
Link: https://lore.kernel.org/r/20220621072910.4704-1-1030steven@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-24 13:18:21 -06:00
Binbin Zhou
4a6d00a43e
docs/zh_CN: core-api: Update the translation of xarray.rst to 5.19-rc3
...
Synchronous translation from upstream commit ac23d1a964
("XArray: Document the locking requirement for the xa_state")
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Reviewed-by: Yanteng Si<siyanteng@loongson.cn >
Link: https://lore.kernel.org/r/b7d5f3ca914667ec14ba35a7c0db3ec3506e670d.1655863769.git.zhoubinbin@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-24 13:15:03 -06:00
Binbin Zhou
c290f175e7
docs/zh_CN: core-api: Update the translation of workqueue.rst to 5.19-rc3
...
Synchronous translation from upstream commit f9eaaa82b4
("workqueue: doc: Call out the non-reentrance conditions")
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Reviewed-by: Yanteng Si<siyanteng@loongson.cn >
Link: https://lore.kernel.org/r/d045cb5623b5ae703c2296d3caa05017d5d225bd.1655863769.git.zhoubinbin@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-24 13:15:03 -06:00
Binbin Zhou
e86a0e297f
docs/zh_CN: core-api: Update the translation of printk-format.rst to 5.19-rc3
...
Synchronous translation from upstream commit 6a7ca80f40
("vsprintf: Update %pGp documentation about that it prints hex value")
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Yanteng Si<siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Link: https://lore.kernel.org/r/2ba15ab2aa46bfdd400d1c043eecc12bc6154836.1655863769.git.zhoubinbin@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-24 13:15:03 -06:00
Binbin Zhou
4faa99e38c
docs/zh_CN: core-api: Update the translation of printk-basics.rst to 5.19-rc3
...
Synchronous translation from upstream commit 7d9e2661f2
("printk: Move the printk() kerneldoc comment to its new home")
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Yanteng Si<siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Link: https://lore.kernel.org/r/56c6d212d6835029b4adf19cf78eec49c7a126d6.1655863769.git.zhoubinbin@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-24 13:15:03 -06:00
Binbin Zhou
f5158bfe87
docs/zh_CN: core-api: Update the translation of mm-api.rst to 5.19-rc3
...
Synchronous translation from the following commits(Latest in front):
[1]: commit 84dacdbd5352("mm: document and polish read-ahead code")
[2]: commit 2f52578f9c64("mm/util: Add folio_mapping() and
folio_file_mapping()")
[3]: commit 889a3747b3b7("mm/lru: Add folio LRU functions")
[4]: commit c24016ac3a62("mm: Add folio reference count functions")
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Yanteng Si<siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Link: https://lore.kernel.org/r/0bd7b03a5d38dd1599715343360bef4289b7c0fb.1655863769.git.zhoubinbin@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-24 13:15:03 -06:00
Binbin Zhou
b2fdf7f080
docs/zh_CN: core-api: Update the translation of kernel-api.rst to 5.19-rc3
...
Synchronous translation from upstream commit 640d1930be
("block: Add bio_for_each_folio_all()")
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Reviewed-by: Yanteng Si<siyanteng@loongson.cn >
Link: https://lore.kernel.org/r/9173878562404f4518fecc7c55032fe815f87fd9.1655863769.git.zhoubinbin@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-24 13:15:03 -06:00
Binbin Zhou
722ecdbce6
docs/zh_CN: core-api: Update the translation of irq/irq-domain.rst to 5.19-rc3
...
Synchronous translation from the following commits(Latest in front):
[1]: commit 0953fb263714("irq: remove handle_domain_{irq,nmi}()")
[2]: commit 0ddc5e55e6f1("Documentation: Fix irq-domain.rst build warning")
[3]: commit 991007ba6cca("Documentation: Update
irq_domain.rst with new lookup APIs")
[4]: commit 405e94e9aed2("irqdomain: Kill irq_domain_add_legacy_isa")
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Yanteng Si<siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Link: https://lore.kernel.org/r/eb82606f323c4c25e497a01a060e1e76f18be72f.1655863769.git.zhoubinbin@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-24 13:15:03 -06:00
Binbin Zhou
1ebfae49fd
docs/zh_CN: core-api: Update the translation of cpu_hotplug.rst to 5.19-rc3
...
Synchronous translation from upstream commit c9871c800f
("Documentation: core-api/cpuhotplug: Rewrite the API section")
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Yanteng Si<siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Link: https://lore.kernel.org/r/9a123a1938a09f883db0b429396954e0792c84c1.1655863769.git.zhoubinbin@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-24 13:15:03 -06:00
Binbin Zhou
417c434aa1
docs/zh_CN: core-api: Update the translation of cachetlb.rst to 5.19-rc3
...
Synchronous translation from upstream commit 08b0b0059b
("mm: Add flush_dcache_folio()")
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn >
Reviewed-by: Yanteng Si<siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Link: https://lore.kernel.org/r/d1fe8dfa3cfc3fe38c7caf8b5cf3b3482b5bddf8.1655863769.git.zhoubinbin@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-24 13:15:03 -06:00
Tom Schwindl
f9b21cd086
docs: driver-api: gpio: Fix some typos
...
Correct some simple spelling mistakes in consumer.rst, driver.rst
and using-gpio.rst.
Signed-off-by: Tom Schwindl <schwindl@posteo.de >
Reviewed-by: Randy Dunlap <rdunlap@infradead.org >
Link: https://lore.kernel.org/r/YrTdAv3YPlCiDr2u@posteo.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-24 13:12:20 -06:00
Deming Wang
df6725651f
docs: Remove duplicate word
...
Delete duplicate words of "the".
Signed-off-by: Deming Wang <wangdeming@inspur.com >
Link: https://lore.kernel.org/r/20220624014605.2007-1-wangdeming@inspur.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-06-24 13:10:31 -06:00