Commit Graph

1461810 Commits

Author SHA1 Message Date
Akiyoshi Kurita
bbc2de7fa5 docs/ja_JP: translate submitting-patches.rst (tag usage)
Translate the Acked-by:, Cc:, and Co-developed-by: section into Japanese.

Signed-off-by: Akiyoshi Kurita <weibu@redadmin.org>
Acked-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260730130030.1078990-1-weibu@redadmin.org>
2026-08-24 10:57:59 -06:00
Bhaskar Chowdhury
791e420360 Doc: admin-guide: pm: Remove unnecessary backticks and fix a spell
One,
Removed the superfluous backticks in the sentence.

And second,

s/peferred/preferred/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260814095716.2905589-1-unixbhaskar@gmail.com>
2026-08-14 12:36:43 -06:00
Sebastian Andrzej Siewior
5edf1547ac Documentation: Extend the real-time hardware bits with some firmware bits
I have been reviewing how OP‑TEE is implemented and how secure‑world
invocations behave. The goal was to determine whether an OP‑TEE call can
delay the Linux side and introduce latency depending on the time spent
in the secure world.

Similar latency effects are already known for EFI runtime services, but
this was not documented. To mitigate the impact, EFI runtime invocations
can be restricted to specific CPUs so that real‑time workloads on other
CPUs remain unaffected. This mechanism, however, is only described in
the commit that introduced it.

This change adds a firmware section that documents these behaviours
explicitly. It highlights cases where firmware can delay the kernel,
information that may be unfamiliar to some users and surprising-or
concerning-to others.

Assisted-by: Microsoft-Copilot
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260718175041.QXn9iOFK@linutronix.de>
2026-08-13 09:26:18 -06:00
Daniel Pereira
1ed2db7d8f docs: pt_BR: Reorganize process/index.rst to follow english structure
The main index.rst file for the pt_BR translation was grouping all
translated process documents directly in its toctree, which frequently
caused patch collisions among contributors.

Following Jonathan Corbet's suggestion, this patch introduces a new
pt_BR/process/index.rst that mirrors the subsection structure of the
English Documentation/process/index.rst. The translated documents are
now organized into their respective categories, rather than a single
flat list.

The root pt_BR/index.rst now simply references process/index.

This matches the upstream categorization and significantly reduces
merge conflicts for future pt_BR translations.

Signed-off-by: Daniel Pereira <danielmaraboo@gmail.com>
[jc: removed process/index.rst top-of-file label]
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260813134741.11025-1-danielmaraboo@gmail.com>
2026-08-13 09:22:21 -06:00
Randy Dunlap
391650e146 docs: conf.py: fix the 'utf-8' typo
"encoding" should be 'utf-8'. Fix the typo.

Fixes: 7ea9a550f7 ("docs: conf.py: several coding style fixes")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260806051115.1235789-1-rdunlap@infradead.org>
2026-08-11 10:45:54 -06:00
Randy Dunlap
0c56db4610 doc tools: fix 'path' typos
Correct "patch" or "patches" to "path" or "paths" in comments.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260806055634.1293294-1-rdunlap@infradead.org>
2026-08-11 10:43:16 -06:00
Ahmed S. Darwish
3160c8de3a Documentation: real-time: Add kernel configuration guide
Add a configuration guide for real-time kernels.

List all Kconfig options that are recommended to be either enabled or
disabled.  Explicitly add a table of contents at the top of the document,
so that all the options can be seen in a glance.

Whenever appropriate, link to other kernel guides; e.g. cpuidle, cpufreq,
power management, workqueues, and no_hz.

Add a summary at the end of the document warning users that there is no
"one size fits all solution" for configuring a real-time system.

Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260804141541.747704-2-darwi@linutronix.de>
2026-08-11 10:41:07 -06:00
Alison Schofield
47646ce123 docs: python: abi_regex: convert adjacent index placeholders
While validating recent CXL ABI documentation updates with
get_abi.py, every decoderX.Y entry was reported as undocumented.

The placeholder conversion mishandles adjacent index placeholders,
producing patterns that cannot match the corresponding sysfs paths.
As a result, valid ABI entries are reported as undocumented.

Handle adjacent placeholders independently so generated patterns match
the documented paths. This fixes decoderX.Y entries in the CXL ABI and
other ABI documentation that uses the same naming convention.

Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <cc893dca3aaa3ec833ba70d1f32c3e7342b7faf2.1786139549.git.alison.schofield@intel.com>
2026-08-11 10:36:28 -06:00
Alison Schofield
02299dcd20 docs: python: abi_regex: catch the right exception for a bad regex
While validating recent CXL ABI documentation updates with
get_abi.py, the 'undefined' mode was found to abort instead of
reporting undocumented ABI entries.

Older Python releases raise re.error, while newer releases expose
re.PatternError. Catching the compatible re.error exception handles
both cases.

Use re.error so the scan continues and reports the remaining
results.

Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <9f6fa7a9aa6ba9a26b484b911976713356b3fd44.1786139549.git.alison.schofield@intel.com>
2026-08-11 10:36:28 -06:00
Randy Dunlap
22a42ee5da docs: sphinx-build-wrapper: include localversion in kernel version string
Add any localversion* text to the kernel version string
so that the docs index (home) page accurately indicates what
the docs build version is.

E.g.:
  7.2.0-rc6-next-20260807

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260808045331.326769-1-rdunlap@infradead.org>
2026-08-11 09:44:20 -06:00
Jonathan Corbet
f323851805 Merge branch 'html' into docs-mw
The current sidebar in the HTML version of the documentation does not
display the section titles because the toctree directives in the
top-level index.rst document do not contain ":caption:" properties.
Replacing the current section titles by ":caption:" properties would not
allow having text between those and the table of contents.

To workaround this issue, add the ":caption:" properties in the toctree
calls which makes them show up in the sidebar, but hide them from the
index page with a custom CSS addition.

Additionally, make the section titles in the sidebar bold to make them
stand-out.

This makes the overall structure of the documentation clearer from the
sidebar directly.

PS: This is how I've implemented this in the Yocto Project
documentation[1] where I faced the same issue. See also the index.rst
file[2] (which was by the way inspired by the kernel's own index.rst)
and CSS addition[3].

[1]: https://docs.yoctoproject.org/dev/
[2]: https://git.yoctoproject.org/yocto-docs/tree/documentation/index.rst
[3]: https://git.yoctoproject.org/yocto-docs/tree/documentation/sphinx-static/theme_overrides.css#n106

[jc: I tweaked the CSS slightly, any problems there are my fault]
2026-08-05 13:38:32 -06:00
Antonin Godard
5bb9bdaf2c Documentation: html: adjust sidebar section titles styling
Now that section titles are displayed in the sidebar, make them bold to
have them stand out compared to the subsection titles, and decrease
their bottom margin to group them with their subsections.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
[jc: tweaked the sidebar CSS slightly]
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260804-show-sections-in-sidebar-v2-2-a68d23bbc79d@bootlin.com>
2026-08-05 13:37:41 -06:00
Antonin Godard
29d58caf95 Documentation: html: show sections in the sidebar
The current sidebar in the HTML version of the documentation does not
display the section titles because the toctree directives in the
top-level index.rst document do not contain ":caption:" properties.
Replacing the current section titles by ":caption:" properties would not
allow having text between those and the table of contents.

To workaround this issue, add the ":caption:" properties in the toctree
calls which makes them show up in the sidebar, but hide them from the
index page with a custom CSS addition.

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260804-show-sections-in-sidebar-v2-1-a68d23bbc79d@bootlin.com>
2026-08-05 13:04:26 -06:00
Jeff Layton
2a8d68338e checkpatch.pl: adapt to new Assisted-by: format
There is a new format for the 'Assisted-by:' tag. Change checkpatch.pl
to just check that it has a value rather than testing for a specific
format.

Assisted-by: LLM
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260804-checkpatch-v1-1-27f29c79a46f@kernel.org>
2026-08-05 12:53:21 -06:00
Chen-Yu Yeh
895329c37c MAINTAINERS: update Traditional Chinese documentation maintainers
The zh_TW translation has been unmaintained for about two years: the
listed maintainer has been unreachable, and because no active
maintainer was listed, get_maintainer.pl did not point contributors at
anyone who could actually pick up a patch. My own zh_TW patch sat on
the list for five weeks for exactly that reason.

Following the discussion in [1] and the plan in [2], list the people
who have stepped up to carry zh_TW forward, with a shift in focus
towards Taiwanese Mandarin terminology rather than a plain
simplified-to-traditional conversion.

Move Hu Haowen to CREDITS and drop his personal repository links,
which are no longer reachable. The current translation is built on his
work, but MAINTAINERS is a list of who to contact, and the listed
address has not answered zh_TW mail for about two years, which is what
made zh_TW hard to contribute to in the first place.

zh_TW stays a separate entry and is maintained separately from zh_CN;
the two may share a tree for pull requests, but the review and
terminology work is independent.

[1] https://lore.kernel.org/linux-doc/<20260603082531.263115-1-chenyou910331@gmail.com>/
[2] https://lore.kernel.org/linux-doc/<amcZ5SI3-Hzw4HkJ@wyuan.org>/

Signed-off-by: Chen-Yu Yeh <chenyou910331@gmail.com>
Acked-by: Dongliang Mu <dzm91@hust.edu.cn>
Acked-by: Weijie Yuan <wy@wyuan.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260804201012.110713-1-chenyou910331@gmail.com>
2026-08-05 12:50:13 -06:00
Fabio Pereira da Silva
70ca6a2ab4 docs: pt_BR: process: Translate CVE documentation
Translate Documentation/process/cve.rst into Brazilian Portuguese and
link it from the pt_BR documentation index.

Signed-off-by: Fabio Pereira da Silva <silvapfabio@gmail.com>
Acked-by: Daniel Pereira <danielmaraboo@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2026-08-04 13:23:12 -06:00
Amanda Corrêa
689e3b1905 docs: pt_BR: translate the management-style.rst to Brazilian Portuguese
Key changes include:
- Translated management-style.rst into and adapted idiomatic expressions
  and humor to sound natural in Brazilian Portuguese while maintaining
  the original tone.

Signed-off-by: Amanda Corrêa <amandacorreasilvax@gmail.com>
Acked-by: Daniel Pereira <danielmaraboo@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260704202831.112653-1-amandacorreasilvax@gmail.com>
2026-08-03 13:31:13 -06:00
Randy Dunlap
7bcc15b256 docs: xforms_lists: support DEFINE_IDTENTRY_IRQ()
Avoid kernel-doc warnings by supported DEFINE_IDTENTRY_IRQ() as a
function transform.

Warning: arch/x86/kernel/apic/apic.c:2157 function parameter
 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ'
Warning: arch/x86/kernel/apic/apic.c:2157 expecting prototype for
 spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260723190151.507295-1-rdunlap@infradead.org>
2026-08-03 12:57:56 -06:00
Christian Brauner
816d9992d9 coding-assistants: simplify attribution
The requirement to identify specific models used in the Assisted-by tag
provides free advertising to proprietary software companies while adding
little or no useful information.  Change the requirement to simply:

  Assisted-by: LLM

to capture the fact that an LLM was used without tracking which one.

Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Reviewed-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jori Koolstra <jkoolstra@xs4all.nl>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: David Hildenbrand (arm) <david@kernel.org>
Message-ID: <20260701-work-coding-assistants-v1-1-a20a94d1d606@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2026-08-03 12:57:13 -06:00
Ygor Otavio
4ada4a44b6 docs: translations: pt_BR: translate email-clients.rst
Translate Documentation/process/email-clients.rst to Portuguese and add it
to the docs build.

Signed-off-by: Ygor Otavio <ygorotavio.sjc@gmail.com>
Acked-by: Daniel Pereira <danielmaraboo@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260726235352.3926-1-ygorotavio.sjc@gmail.com>
2026-08-03 12:54:17 -06:00
Álysson Gleyson da Silva
73d56059fa docs: pt_BR: process: Translate the security-bugs.rst
Translate the documentation on security bugs into Brazilian Portuguese,
maintaining consistency with the original formatting rules.

Signed-off-by: Álysson Gleyson da Silva <alyssongleyson.dev@gmail.com>
Acked-by: Daniel Pereira danielmaraboo@gmail.com
[jc: removed top-of-file label]
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260727204803.35796-1-alyssongleyson.dev@gmail.com>
2026-08-03 12:46:04 -06:00
Federico Vaga
1e6c6d69b6 doc:it_IT: align doc-guide translation
Update the Italian translation of Documentation/doc-guide to catch up
with the following upstream commits:

doc-guide/index.rst:
  commit a592a36e49 ("Documentation: use a source-read extension for the index link boilerplate")
  commit d409813508 ("doc-guide: add help documentation checktransupdate.rst")

doc-guide/sphinx.rst:
  commit f1c2db1f14 ("docs: move test_doc_build.py to tools/docs")
  commit abd61d1ff8 ("scripts: sphinx-pre-install: move it to tools/docs")
  commit 9322af5e65 ("docs: sphinx: add a file with the requirements for lowest version")
  commit d6d886005d ("Docs: doc-guide: update sphinx.rst Sphinx version number")
  commit 5ccab49c10 ("docs: doc-guide: clarify latest theme usage")
  commit b31274d58d ("docs: drop the version constraints for sphinx and dependencies")
  commit 40be2369dc ("Documentation: multiple .rst files: Fix grammar and more consistent formatting")
  commit 3e893e16af ("docs: Raise the minimum Sphinx requirement to 2.4.4")
  commit 86b17aaf2e ("docs: automarkup: linkify git revs")
  commit 35d4a3c67e ("docs/doc-guide: Clarify how to write tables")
  commit 26d797ffc1 ("docs: update sphinx.rst to reflect the default theme change")
  commit 679b4bc25f ("docs/doc-guide: Add documentation on SPHINX_IMGMATH")
  commit 4d627ef12b ("docs/doc-guide: Mention make variable SPHINXDIRS")
  commit 7c43214ddd ("docs/doc-guide: Add footnote on Inkscape for better images in PDF documents")

doc-guide/kernel-doc.rst:
  commit 827b9458c9 ("docs: kernel-doc.rst: document private: scope propagation")
  commit eba6ffd126 ("docs: kdoc: move kernel-doc to tools/docs")
  commit 90f1d896d5 ("doc-guide: kernel-doc: specify that W=n does not check header files")
  commit b580fa304c ("docs: kernel-doc.rst: document the new "var" kernel-doc markup")
  commit 8deb5d725b ("docs: kernel-doc.rst: don't let automarkup mangle with consts")
  commit dd3e817e87 ("doc-guide: kernel-doc: add %CONST examples")
  commit 7e8a8143ec ("docs: add support to build manpages from kerneldoc output")
  commit 9e6c5870bb ("Documentation: kernel-doc: enumerate identifier *type*s")
  commit 23a0bc2851 ("doc-guide: kernel-doc: document Returns: spelling")

doc-guide/parse-headers.rst:
  commit 6ae0f20727 ("docs: parse-headers.rst: Fix a typo")
  commit 68f3d40ea0 ("docs: parse-headers.rst: remove uneeded parenthesis")
  commit d69a03a97a ("docs: doc-guide: parse-headers.rst update its documentation")

Also add the translations for the following pages, which had none:

doc-guide/contributing.rst:
  commit d96574b0b4 ("Add a document on how to contri

doc-guide/maintainer-profile.rst:
  commit 53b7f3aa41 ("Add a maintainer entry profile for documentation")

doc-guide/checktransupdate.rst:
  commit d409813508 ("doc-guide: add help documentation checktransupdate.rst")

Signed-off-by: Federico Vaga <federico.vaga@vaga.pv.it>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260725185005.138887-1-federico.vaga@vaga.pv.it>
2026-08-03 12:35:03 -06:00
Doehyun Baek
b27b15d06e Docs/translations/it_IT: sync changes.rst requirements
The Italian current requirements text had fallen behind the English
Documentation/process/changes.rst version.

Sync the current requirements table and add the missing ver_linux note.
Also update directly related text for pahole, Python and GNU AWK, add the
Rust/bindgen source links, and remove the stale cpio source entry.

Signed-off-by: Doehyun Baek <doehyunbaek@gmail.com>
Cc: Federico Vaga <federico.vaga@vaga.pv.it>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Acked-by: Federico Vaga <federico.vaga@vaga.pv.it>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260726063928.1322676-1-doehyunbaek@gmail.com>
2026-08-03 12:31:00 -06:00
岳秉坤
3858d39e55 Documentation: fix "readng" typo in EDAC memory-repair ABI doc
Fix "readng" -> "reading" in
Documentation/ABI/testing/sysfs-edac-memory-repair.

Signed-off-by: 岳秉坤 <yuebingkun@kylinos.cn>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Message-ID: <20260728041213.52820-3-yuebingkun@kylinos.cn>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2026-08-03 12:21:28 -06:00
Randy Dunlap
3046f4bebd docs: kdoc_parser: drop extraneous blank line in warning message
Drop an extra newline (blank line) on warning messages for (2 places):
  expecting prototype for typedef. Prototype was for typedef {symbol}
    instead
and
  expecting prototype for {struct|union}. Prototype was for struct|union
    {symbol} instead

This makes these messages consistent with the similar enum warning,
which has no extra blank line.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260729052736.1423688-1-rdunlap@infradead.org>
2026-08-03 12:07:17 -06:00
Lukasz Tymoszczuk
adda90179b docs: ipmi: fix word order in create-user description
Correct "allows to you" to "allows you to".

Signed-off-by: Lukasz Tymoszczuk <lukastymo@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260801111804.3593320-1-lukastymo@gmail.com>
2026-08-03 12:06:28 -06:00
Anuj Bolewar
a88263995b docs: kernel-parameters: Remove smsc-ircc2 IrDA parameters
The smsc-ircc2 module parameters reference drivers/net/irda/
smsc-ircc2.c, which was removed along with the entire IrDA stack in
commit d64c2a7612 ("staging: irda: remove the irda network stack
and drivers").

Signed-off-by: Anuj Bolewar <bolewara@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260802-docs-remove-smsc-ircc2-params-v1-1-91b302e90cce@gmail.com>
2026-08-03 12:04:34 -06:00
Randy Dunlap
8ebbb89c27 MAINTAINERS: docs: add reviewer
Add myself as a reviewer for the documentation subsystem.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260803172850.47704-1-rdunlap@infradead.org>
2026-08-03 12:02:51 -06:00
Ryszard Knop
5ffcd42a9a scripts/kernel-doc: Fix kdoc for Python 3.9-3.11
The syntax used by the excess description suggestion change works on
Python 3.12+, while we need to support 3.9+.

Signed-off-by: Ryszard Knop <ryszard.knop@intel.com>
Tested-by: Akira Yokosawa <akiyks@gmail.com>
Fixes: d7758384cc ("scripts/kernel-doc: Suggest possible names for excess descriptions")
Reported-by: Akira Yokosawa <akiyks@gmail.com>
Closes: https://lore.kernel.org/22a9276d-c103-4306-a617-7f34abcd5c29@gmail.com/
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260731144508.912049-1-ryszard.knop@intel.com>
2026-08-03 11:12:49 -06:00
Lorenzo Stoakes
d699a5da10 docs: link AI coding assistants and tool-generated content pages
Both of these guidelines are complimentary to one another - one specifying
guidelines on AI coding assistants, and the other specifying those for
tool-generated content.

Since they are complimentary to one another, provide a link to each in the
other.

Signed-off-by: Lorenzo Stoakes <ljs@kernel.org>
Acked-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: SJ Park <sj@kernel.org>
Reviewed-by: David Hildenbrand (Arm) <david@kernel.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260702164901.121128-1-ljs@kernel.org>
2026-07-22 14:36:03 -06:00
Jyun-An Chen
7ed594363b Documentation/core-api: min_heap: remove documented but unimplemented min_heap_empty()
min_heap_empty()/min_heap_empty_inline() are documented as part of
the Min Heap API, but no such functions or macros exist in
include/linux/min_heap.h or lib/min_heap.c. Remove the stale
description.

Acked-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jyun-An Chen <jun930436@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260722044236.6346-1-jun930436@gmail.com>
2026-07-22 10:24:49 -06:00
Akiyoshi Kurita
9ca62ed53f docs/ja_JP: translate submitting-patches.rst (sign-off)
Translate the "Include PATCH in the subject" and "Sign your work -
the Developer's Certificate of Origin" sections into Japanese.

Keep the DCO text in English as the original certificate text, and add
a Japanese note that the sign-off refers to the English DCO text.

Use a reStructuredText note directive to make it clear that the note is
specific to the Japanese translation.

Signed-off-by: Akiyoshi Kurita <weibu@redadmin.org>
Acked-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260720223410.421262-1-weibu@redadmin.org>
2026-07-22 10:17:48 -06:00
Yahya Toubali
61ef5e7e20 Documentation: proc: fix repeated word 'page'
Remove the duplicate 'page' in the sentence describing large page
allocation accounting. The extra word makes the description confusing.

Signed-off-by: Yahya Toubali <yahya@yahyatoubali.me>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260718165613.1923550-1-yahya@yahyatoubali.me>
2026-07-22 10:16:31 -06:00
Ryszard Knop
d7758384cc scripts/kernel-doc: Suggest possible names for excess descriptions
Recent check_sections() change added a warning if a documentation tag
member name does not match the detected struct/union member names. Since
the checker knows all possible names, we can suggest known names, so
that it's more obvious how to deal with the warning.

Signed-off-by: Ryszard Knop <ryszard.knop@intel.com>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260717125753.634550-1-ryszard.knop@intel.com>
2026-07-22 10:10:44 -06:00
Jonathan Corbet
9b9c442dda Merge tag 'Chinese-docs-7.3' of gitolite.kernel.org:pub/scm/linux/kernel/git/alexs/linux into alex
Chinese translation docs for 7.3

This is the Chinese translation subtree for 7.3. It includes
the following changes:
        - Add the some rust, module-signing docs translation
        - Fix/update couples Chinese translation

Above patches are tested by 'make htmldocs'

Signed-off-by: Alex Shi <alexs@kernel.org>
2026-07-22 09:42:08 -06:00
Ben Guo
8492d4e6bb docs/zh_CN: Update rust/testing.rst translation
Update Documentation/rust/testing.rst translation.

Update the translation through commit 09699b2419
("Documentation: rust: testing: add Kconfig guidance")

Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Signed-off-by: Ben Guo <ben.guo@openatom.club>
Signed-off-by: Alex Shi <alexs@kernel.org>
2026-07-17 20:24:09 +08:00
Ben Guo
9bdd2d4ef0 docs/zh_CN: Update rust/arch-support.rst translation
Update Documentation/rust/arch-support.rst translation.

Update the translation through commit 3f70ebe638
("s390: Enable Rust support")

Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Signed-off-by: Ben Guo <ben.guo@openatom.club>
Signed-off-by: Alex Shi <alexs@kernel.org>
2026-07-17 20:24:09 +08:00
Ben Guo
e3ffaaa0df docs/zh_CN: Update rust/general-information.rst translation
Update Documentation/rust/general-information.rst translation.

Update the translation through commit 86c5d1c674
("docs: rust: general-information: use real example")

Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Signed-off-by: Ben Guo <ben.guo@openatom.club>
Signed-off-by: Alex Shi <alexs@kernel.org>
2026-07-17 20:24:09 +08:00
Ben Guo
19ecf803b2 docs/zh_CN: Update rust/quick-start.rst translation
Update Documentation/rust/quick-start.rst translation.

Update the translation through commit a4392ed1c8
("docs: rust: quick-start: remove GDB/Binutils mention")

Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Signed-off-by: Ben Guo <ben.guo@openatom.club>
Signed-off-by: Alex Shi <alexs@kernel.org>
2026-07-17 20:24:09 +08:00
chengyaqiang
292646b19a docs/zh_CN: fix KASAN SW_TAGS mode description
CONFIG_KASAN_SW_TAGS enables Software Tag-Based KASAN mode, not Hardware
Tag-Based mode. Fix the incorrect translation in the Chinese documentation.

The original text incorrectly described both CONFIG_KASAN_SW_TAGS and
CONFIG_KASAN_HW_TAGS as "基于硬件标签" (hardware tag-based).  Correct
CONFIG_KASAN_SW_TAGS to "基于软件标签" (software tag-based).

Signed-off-by: chengyaqiang <chengyaqiang@tsinghua.edu.cn>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Reviewed-by: Zenghui Yu <zenghui.yu@linux.dev>
Signed-off-by: Alex Shi <alexs@kernel.org>
2026-07-17 20:24:09 +08:00
Yan Zhu
96bb72c950 docs/zh_CN: update admin-guide/index.rst translation
update Documentation/admin-guide/index.rst Chinese translation

Update the translation through commit f0efd29aa6
("doc: Add CPU Isolation documentation")

Signed-off-by: Yan Zhu <zhuyan2015@qq.com>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Signed-off-by: Alex Shi <alexs@kernel.org>
2026-07-17 20:24:08 +08:00
Ethan Nelson-Moore
66954d56c9 docs/zh_CN: fix CONFIG_CONPAT typo for CONFIG_COMPAT
The Simplified Chinese translation of security/self-protection.rst
contains a typo CONFIG_CONPAT for CONFIG_COMPAT. Fix it.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Reviewed-by: Zenghui Yu <zenghui.yu@linux.dev>
Reviewed-by: WangYuli <wangyl5933@chinaunicom.cn>
Signed-off-by: Alex Shi <alexs@kernel.org>
2026-07-17 20:24:08 +08:00
Ethan Nelson-Moore
20c37ed33a docs/zh_CN: fix CONFIG_CGROUP typo for CONFIG_CGROUPS
The Simplified Chinese translation of accounting/psi.rst
contains a typo CONFIG_CGROUP for CONFIG_CGROUPS. Fix it.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Signed-off-by: Alex Shi <alexs@kernel.org>
2026-07-17 20:24:08 +08:00
panzhipop
bb94c0c3c2 docs/zh_TW: replace 接口 with 介面 in stable-api-nonsense.rst
In Taiwan's standard terminology, as defined by the National Academy
for Educational Research (NAER) term bank (https://terms.naer.edu.tw/),
the correct Traditional Chinese translation for "interface" is "介面",
not "接口" (which is used in Simplified Chinese/Mainland China).

Update the zh_TW translation of stable-api-nonsense.rst to use
the proper Taiwanese terminology.

Signed-off-by: panzhipop <kipp455187@gmail.com>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Signed-off-by: Alex Shi <alexs@kernel.org>
2026-07-17 20:24:08 +08:00
Yan Zhu
2cbd7a3de5 docs/zh_CN: add module-signing Chinese translation
Translate .../admin-guide/module-signing.rst into Chinese.

Update the translation through commit 0ad9a71933
("modsign: Enable ML-DSA module signing")

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202604182216.Qpd5KifK-lkp@intel.com/
Signed-off-by: Yan Zhu <zhuyan2015@qq.com>
Signed-off-by: Alex Shi <alexs@kernel.org>
2026-07-17 20:24:08 +08:00
Dongliang Mu
0d4078536c docs/zh_CN: restructure how-to.rst patch submission workflow
Split "导出补丁和制作封面" into separate "导出补丁" and
"为补丁集制作封面" sections, and document the single-patch
(git format-patch -1) and multi-patch (-N) flows side by side
so new contributors do not have to infer one from the other.

Replace the invalid "git am --amend" invocations with "git commit
--amend" in both the checkpatch fix-up and the iteration sections.

Expand the iteration section with a worked v2 example showing where the
changelog goes relative to the --- separator, and describe how v3/v4
changelogs stack newest-on-top.

Finally, add a note reminding submitters to carry Reviewed-by tags from
reviewers into the next revision, placed below Signed-off-by.

Assisted-by: Claude:claude-opus-4-7
Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn>
Reviewed-by: Yanteng Si <si.yanteng@linux.dev>
Signed-off-by: Alex Shi <alexs@kernel.org>
2026-07-17 20:24:08 +08:00
Ben Guo
596b66b4f5 docs/zh_CN: add --no-merges to git log example in how-to.rst
Add --no-merges flag to prevent referencing merge commits in the
through-commit field of translation commit messages.

Signed-off-by: Ben Guo <ben.guo@openatom.club>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Signed-off-by: Alex Shi <alexs@kernel.org>
2026-07-17 20:24:08 +08:00
Dongliang Mu
28d2c3b03e docs/zh_CN: polish how-to.rst
Editorial pass on the Chinese translation contributor guide.

 - Fix typos: 网络通常 → 通畅; remove trailing backticks on the
   checktransupdate.py command; mis-placed 。 → , in the 紧急处理
   section; 您/你 and 的/地 inconsistencies in 进阶.
 - Correct "git email" to "git send-email", matching usage
   elsewhere in the document.
 - Replace an invalid <URL> inline form with a bare URL so Sphinx
   renders the lore.kernel.org link.
 - Tighten grammar and wording: 针对于 → 面向; drop redundant
   最多 before 不超过 and tautological 即可; remove double 的 in
   您的翻译的内容; resolve ambiguity around 继续 placement in the
   把补丁提交到邮件列表 section; and similar small fixes.

Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn>
Signed-off-by: Alex Shi <alexs@kernel.org>
2026-07-17 20:24:08 +08:00
Daniel Pereira
be828e6819 docs: pt_BR: Translate deprecated interfaces guide to Portuguese
Translate the deprecated interfaces, language features, attributes, and
conventions document (deprecated.rst) to Portuguese (pt_BR).

This ensures Portuguese-speaking developers have access to local guidelines
on deprecated APIs (like BUG(), strcpy(), and VLAs), correct usage of
safe alternatives (like WARN(), strscpy(), and flexible array members),
and modern object allocator macros (kmalloc_obj).

Signed-off-by: Daniel Pereira <danielmaraboo@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260716021013.48025-5-danielmaraboo@gmail.com>
2026-07-16 16:48:43 -06:00
Daniel Pereira
c9f09c2089 docs: pt_BR: Translate Code of Conduct to Portuguese
Translate the Contributor Covenant Code of Conduct document from
Documentation/process/code-of-conduct.rst to Portuguese (pt_BR)
to ensure the community guidelines are accessible in the local
language.

Also, add the newly translated file to the main index in the pt_BR
translation directory to ensure it compiles correctly within the
Sphinx build.

Signed-off-by: Daniel Pereira <danielmaraboo@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260716021013.48025-4-danielmaraboo@gmail.com>
2026-07-16 16:48:35 -06:00