[PATCH] docs/perf: Add ampere_cspmu to toctree to fix a build warning

Ilkka Koskinen posted 1 patch 2 years, 2 months ago
Documentation/admin-guide/perf/index.rst | 1 +
1 file changed, 1 insertion(+)
[PATCH] docs/perf: Add ampere_cspmu to toctree to fix a build warning
Posted by Ilkka Koskinen 2 years, 2 months ago
Add ampere_cspmu to toctree in order to address the following warning
produced when building documents:

	Documentation/admin-guide/perf/ampere_cspmu.rst: WARNING: document isn't included in any toctree

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/all/20231011172250.5a6498e5@canb.auug.org.au/
Fixes: 53a810ad3c5c ("perf: arm_cspmu: ampere_cspmu: Add support for Ampere SoC PMU")
Signed-off-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
---
This patch fixes a bug in my cspmu patch, which is in Will Deacon's tree
(https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git for-next/perf).

Tested with 'make SPHINXDIRS="admin-guide" htmldocs'


Documentation/admin-guide/perf/index.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/admin-guide/perf/index.rst b/Documentation/admin-guide/perf/index.rst
index f60be04e4e33..a2e6f2c81146 100644
--- a/Documentation/admin-guide/perf/index.rst
+++ b/Documentation/admin-guide/perf/index.rst
@@ -22,3 +22,4 @@ Performance monitor support
    nvidia-pmu
    meson-ddr-pmu
    cxl
+   ampere_cspmu
-- 
2.40.1
Re: [PATCH] docs/perf: Add ampere_cspmu to toctree to fix a build warning
Posted by Will Deacon 2 years, 2 months ago
On Thu, 12 Oct 2023 00:41:03 -0700, Ilkka Koskinen wrote:
> Add ampere_cspmu to toctree in order to address the following warning
> produced when building documents:
> 
> 	Documentation/admin-guide/perf/ampere_cspmu.rst: WARNING: document isn't included in any toctree
> 
> 

Applied to will (for-next/perf), thanks!

[1/1] docs/perf: Add ampere_cspmu to toctree to fix a build warning
      https://git.kernel.org/will/c/0abe7f61c28d

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev