2023-10-12 07:42:39

by Ilkka Koskinen

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

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 <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Fixes: 53a810ad3c5c ("perf: arm_cspmu: ampere_cspmu: Add support for Ampere SoC PMU")
Signed-off-by: Ilkka Koskinen <[email protected]>
---
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


2023-10-12 18:07:29

by Will Deacon

[permalink] [raw]
Subject: Re: [PATCH] docs/perf: Add ampere_cspmu to toctree to fix a build warning

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