Skip to content

Commit 436fa4a

Browse files
ramosian-gliderakpm00
authored andcommitted
docs: kmsan: fix formatting of "Example report"
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/20221107142255.4038811-1-glider@google.com Fixes: 93858ae ("kmsan: add ReST documentation") Signed-off-by: Alexander Potapenko <glider@google.com> Suggested-by: Bagas Sanjaya <bagasdotme@gmail.com> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 1de09a7 commit 436fa4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/dev-tools/kmsan.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ uninitialized in the local variable, as well as the stack where the value was
6767
copied to another memory location before use.
6868

6969
A use of uninitialized value ``v`` is reported by KMSAN in the following cases:
70+
7071
- in a condition, e.g. ``if (v) { ... }``;
7172
- in an indexing or pointer dereferencing, e.g. ``array[v]`` or ``*v``;
7273
- when it is copied to userspace or hardware, e.g. ``copy_to_user(..., &v, ...)``;

0 commit comments

Comments
 (0)