docs: kasan.rst: add two missing blank lines
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@kernel.org> Reviewed-by: Andrey Konovalov <andreyknvl@google.com> Link: https://lore.kernel.org/r/cd6c4280fe26b07f2c5e5ed2918e17e88bb03419.1603791716.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
Родитель
2644ccef6f
Коммит
32519c0326
|
@ -295,11 +295,13 @@ print the number of the test and the status of the test:
|
||||||
pass::
|
pass::
|
||||||
|
|
||||||
ok 28 - kmalloc_double_kzfree
|
ok 28 - kmalloc_double_kzfree
|
||||||
|
|
||||||
or, if kmalloc failed::
|
or, if kmalloc failed::
|
||||||
|
|
||||||
# kmalloc_large_oob_right: ASSERTION FAILED at lib/test_kasan.c:163
|
# kmalloc_large_oob_right: ASSERTION FAILED at lib/test_kasan.c:163
|
||||||
Expected ptr is not null, but is
|
Expected ptr is not null, but is
|
||||||
not ok 4 - kmalloc_large_oob_right
|
not ok 4 - kmalloc_large_oob_right
|
||||||
|
|
||||||
or, if a KASAN report was expected, but not found::
|
or, if a KASAN report was expected, but not found::
|
||||||
|
|
||||||
# kmalloc_double_kzfree: EXPECTATION FAILED at lib/test_kasan.c:629
|
# kmalloc_double_kzfree: EXPECTATION FAILED at lib/test_kasan.c:629
|
||||||
|
|
Загрузка…
Ссылка в новой задаче