Commit 436fa4a6 authored by Alexander Potapenko's avatar Alexander Potapenko Committed by Andrew Morton

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: 93858ae7 ("kmsan: add ReST documentation")
Signed-off-by: default avatarAlexander Potapenko <glider@google.com>
Suggested-by: default avatarBagas Sanjaya <bagasdotme@gmail.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 1de09a72
...@@ -67,6 +67,7 @@ uninitialized in the local variable, as well as the stack where the value was ...@@ -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. copied to another memory location before use.
A use of uninitialized value ``v`` is reported by KMSAN in the following cases: A use of uninitialized value ``v`` is reported by KMSAN in the following cases:
- in a condition, e.g. ``if (v) { ... }``; - in a condition, e.g. ``if (v) { ... }``;
- in an indexing or pointer dereferencing, e.g. ``array[v]`` or ``*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, ...)``; - when it is copied to userspace or hardware, e.g. ``copy_to_user(..., &v, ...)``;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment