Skip to content

Documentation/cancellation_points: Fix two codespell errors. - #20665

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
casaroli:docs-cancellation-codespell
Oct 14, 2026
Merged

xiaoxiang781216 merged 1 commit into
apache:masterfrom
casaroli:docs-cancellation-codespell

Conversation

@casaroli

Copy link
Copy Markdown
Contributor

Summary

codespell reports two words in Documentation/os/scheduling/cancellation_points.rst:

cancellation_points.rst:30: Cancelation ==> Cancellation
cancellation_points.rst:68: cancelability ==> cancellability

The check job runs tools/checkpatch.sh -c -u -m -g <range> and codespell checks every file that a commit in the range touches.
8f112cf ("docs/cancellation_points: Fix typos and grammar.") touches this file, so the check job fails for every pull request whose range includes that commit, for example #20634 and #20648.

This change uses "Cancellation" in the section title (and makes the underline one character longer) and "re-enable cancellation" in the note.

Impact

Documentation only.

Testing

./tools/checkpatch.sh -c -u -m -g 8f112cf365~1..8f112cf365 fails on master with the two errors above.
./tools/checkpatch.sh -c -u -m -g 8f112cf365~1..HEAD passes with this change.

codespell reports "Cancelation" and "cancelability" in
cancellation_points.rst.  The check job runs codespell on every file
that a commit in its range touches, so every pull request whose range
includes the last change of this file fails.  Use "Cancellation" in the
title and "re-enable cancellation" in the note.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
@xiaoxiang781216
xiaoxiang781216 merged commit 0121edd into apache:master Oct 14, 2026
7 checks passed
@github-actions github-actions Bot added Area: Documentation Improvements or additions to documentation Size: XS The size of the change in this PR is very small labels Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Documentation Improvements or additions to documentation Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants