Re: [PATCH 1/3] docs: kasan.rst: add two missing blank lines

From: Andrey Konovalov
Date: Fri Sep 18 2020 - 07:44:23 EST


On Thu, Sep 17, 2020 at 10:04 AM Mauro Carvalho Chehab
<mchehab+huawei@xxxxxxxxxx> wrote:
>
> literal blocks should start and end with a blank line,
> as otherwise the parser complains and may do the wrong
> thing, as warned by Sphinx:
>
> Documentation/dev-tools/kasan.rst:298: WARNING: Literal block ends without a blank line; unexpected unindent.
> Documentation/dev-tools/kasan.rst:303: WARNING: Literal block ends without a blank line; unexpected unindent.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
> ---
> Documentation/dev-tools/kasan.rst | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/dev-tools/kasan.rst b/Documentation/dev-tools/kasan.rst
> index c09c9ca2ff1c..2b68addaadcd 100644
> --- a/Documentation/dev-tools/kasan.rst
> +++ b/Documentation/dev-tools/kasan.rst
> @@ -295,11 +295,13 @@ print the number of the test and the status of the test:
> pass::
>
> ok 28 - kmalloc_double_kzfree
> +
> or, if kmalloc failed::
>
> # kmalloc_large_oob_right: ASSERTION FAILED at lib/test_kasan.c:163
> Expected ptr is not null, but is
> not ok 4 - kmalloc_large_oob_right
> +
> or, if a KASAN report was expected, but not found::
>
> # kmalloc_double_kzfree: EXPECTATION FAILED at lib/test_kasan.c:629

Reviewed-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx>