Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: w1: Fix SPDX comment syntax on masters and slaves toctree index

Commit e9bb627561535d ("docs: w1: convert to ReST and add to the kAPI
group of docs") converts 1-Wire docs to reST alongside with SPDX
comment, yet the comment is written in one dot as opposed to two in
order to be recognized as comment directive, which spills it into
htmldocs output. This issue is partially fixed in d8fb03e1ea64e7 ("docs:
w1: Fix SPDX-License-Identifier syntax") as it only touches top-level w1
toctree.

Do the same fix on masters and slaves toctrees.

Fixes: e9bb62756153 ("docs: w1: convert to ReST and add to the kAPI group of docs")
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20250909022142.18007-1-bagasdotme@gmail.com>

authored by

Bagas Sanjaya and committed by
Jonathan Corbet
f874abea 7e5a0fe4

+2 -2
+1 -1
Documentation/w1/masters/index.rst
··· 1 - . SPDX-License-Identifier: GPL-2.0 1 + .. SPDX-License-Identifier: GPL-2.0 2 2 3 3 ===================== 4 4 1-wire Master Drivers
+1 -1
Documentation/w1/slaves/index.rst
··· 1 - . SPDX-License-Identifier: GPL-2.0 1 + .. SPDX-License-Identifier: GPL-2.0 2 2 3 3 ==================== 4 4 1-wire Slave Drivers