]> Git Repo - linux.git/commitdiff
docs: kmsan: fix formatting of "Example report"
authorAlexander Potapenko <[email protected]>
Mon, 7 Nov 2022 14:22:55 +0000 (15:22 +0100)
committerAndrew Morton <[email protected]>
Tue, 8 Nov 2022 23:57:25 +0000 (15:57 -0800)
Add a blank line to make the sentence before the list render as a separate
paragraph, not a definition.

Link: https://lkml.kernel.org/r/[email protected]
Fixes: 93858ae70cf4 ("kmsan: add ReST documentation")
Signed-off-by: Alexander Potapenko <[email protected]>
Suggested-by: Bagas Sanjaya <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Documentation/dev-tools/kmsan.rst

index 2a53a801198cbf5fe8f132cd6293b707b3d5ad16..55fa82212eb2550ad6889f33aee2db77f1cbff4c 100644 (file)
@@ -67,6 +67,7 @@ uninitialized in the local variable, as well as the stack where the value was
 copied to another memory location before use.
 
 A use of uninitialized value ``v`` is reported by KMSAN in the following cases:
+
  - in a condition, e.g. ``if (v) { ... }``;
  - in an indexing or pointer dereferencing, e.g. ``array[v]`` or ``*v``;
  - when it is copied to userspace or hardware, e.g. ``copy_to_user(..., &v, ...)``;
This page took 0.087011 seconds and 4 git commands to generate.