[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e3acf716-edd2-91d5-24c9-02c547f0d168@gmail.com>
Date: Wed, 15 Dec 2021 10:05:23 +0900
From: Akira Yokosawa <akiyks@...il.com>
To: Shuah Khan <skhan@...uxfoundation.org>
Cc: akpm@...ux-foundation.org, corbet@....net,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] docs/vm: fix Unexpected indentation warns in page_owner
Hi,
On Tue, 14 Dec 2021 17:19:29 -0700, Shuah Khan wrote:
> Fix Unexpected indentation warns in page_owner:
>
> Documentation/vm/page_owner.rst:92: WARNING: Unexpected indentation.
> Documentation/vm/page_owner.rst:96: WARNING: Unexpected indentation.
> Documentation/vm/page_owner.rst:107: WARNING: Unexpected indentation.
I guess these outputs should have been literal blocks.
Then Sphinx wouldn't complain about indentations.
Thanks, Akira
>
> Signed-off-by: Shuah Khan <skhan@...uxfoundation.org>
> ---
> Documentation/vm/page_owner.rst | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/vm/page_owner.rst b/Documentation/vm/page_owner.rst
> index 9837fc8147dd..9a3af6aafa09 100644
> --- a/Documentation/vm/page_owner.rst
> +++ b/Documentation/vm/page_owner.rst
> @@ -89,11 +89,11 @@ Usage
>
> Page allocated via order XXX, ...
> PFN XXX ...
> - // Detailed stack
> + // Detailed stack
>
> Page allocated via order XXX, ...
> PFN XXX ...
> - // Detailed stack
> + // Detailed stack
>
> The ``page_owner_sort`` tool ignores ``PFN`` rows, puts the remaining rows
> in buf, uses regexp to extract the page order value, counts the times
> @@ -104,7 +104,7 @@ Usage
>
> XXX times, XXX pages:
> Page allocated via order XXX, ...
> - // Detailed stack
> + // Detailed stack
>
> By default, ``page_owner_sort`` is sorted according to the times of buf.
> If you want to sort by the pages nums of buf, use the ``-m`` parameter.
> --
> 2.32.0
Powered by blists - more mailing lists