lkml.org 
[lkml]   [2020]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 24/24] counters: docs: add a missing include
From
Date
On 10/13/20 6:14 AM, Mauro Carvalho Chehab wrote:
> Changeset 37a0dbf631f6 ("counters: Introduce counter_atomic* counters")
>
> Is causing two new warnings:
>
> .../Documentation/core-api/counters.rst:8: WARNING: Undefined substitution referenced: "copy".
> .../Documentation/core-api/counters.rst:9: WARNING: Undefined substitution referenced: "copy".
>
> Because it forgot to include isonum.txt, which defines |copy|
> macro.
>
> While here, also add it to core-api index file, in order to
> solve this warning:
>
> .../Documentation/core-api/counters.rst: WARNING: document isn't included in any toctree
>
> Fixes: 37a0dbf631f6 ("counters: Introduce counter_atomic* counters")
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> ---
> Documentation/core-api/counters.rst | 1 +
> Documentation/core-api/index.rst | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/Documentation/core-api/counters.rst b/Documentation/core-api/counters.rst
> index 642d907f4d3a..2821aebf3f45 100644
> --- a/Documentation/core-api/counters.rst
> +++ b/Documentation/core-api/counters.rst
> @@ -1,4 +1,5 @@
> .. SPDX-License-Identifier: GPL-2.0
> +.. include:: <isonum.txt>
>
> ======================
> Simple atomic counters
> diff --git a/Documentation/core-api/index.rst b/Documentation/core-api/index.rst
> index 69171b1799f2..cf9cd44c1191 100644
> --- a/Documentation/core-api/index.rst
> +++ b/Documentation/core-api/index.rst
> @@ -43,6 +43,7 @@ Library functionality that is used throughout the kernel.
> this_cpu_ops
> timekeeping
> errseq
> + counters
>
> Concurrency primitives
> ======================
>

Thank you for the patch. I will add this to my patch series.

thanks,
-- Shuah

\
 
 \ /
  Last update: 2020-10-15 03:26    [W:0.289 / U:3.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site