Skip to contentSkip to conversation

thermal: intel: powerclamp: Fix warnings

PATCH New Srinivas Pandruvada 1 participant 1 message Feb 13, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thermal: intel: powerclamp: Fix warnings

Two warnings are reported during make htmldocs:
1.Documentation/admin-guide/index.rst:62: WARNING: toctree contains reference to nonexisting document 'admin-guide/thermal' 2.Documentation/admin-guide/thermal/intel_powerclamp.rst:328:
WARNING: Inline emphasis start-string without end-string

Fix the first warning by adding index.rst in thermal folder and for the second issue use \ for *.

---
 Documentation/admin-guide/index.rst                    |  2 +-
 Documentation/admin-guide/thermal/index.rst            | 10 ++++++++++
 Documentation/admin-guide/thermal/intel_powerclamp.rst |  2 +-
 3 files changed, 12 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/admin-guide/thermal/index.rst
Documentation/admin-guide/index.rst +1 -1
index c872a8a1ddfa..0571938ecdc8 100644
@@ -116,7 +116,7 @@ configure specific aspects of kernel behavior to your liking.
    svga
    syscall-user-dispatch
    sysrq
-   thermal
+   thermal/index
    thunderbolt
    ufs
    unicode
Documentation/admin-guide/thermal/index.rst new file +10 -0
new file mode 100644
index 000000000000..6eb3f4da40e6
@@ -0,0 +1,10 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+==================
+Thermal Management
+==================
+
+.. toctree::
+   :maxdepth: 1
+
+   intel_powerclamp
Documentation/admin-guide/thermal/intel_powerclamp.rst +1 -1
index 2d9d2d739f02..f919fbe1cdd9 100644
@@ -326,7 +326,7 @@ Module Parameters
 
 ``cpumask`` (RW)
 	A bit mask of CPUs to inject idle. The format of the bitmask is same as
-	used in other subsystems like in /proc/irq/*/smp_affinity. The mask is
+	used in other subsystems like in /proc/irq/\*/smp_affinity. The mask is
 	comma separated 32 bit groups. Each CPU is one bit. For example for a 256
 	CPU system the full mask is:
 	ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff
Signature · 1 line
2.39.1