projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc8ab02
)
docs: kmsan: fix formatting of "Example report"
author
Alexander Potapenko
<glider@google.com>
Mon, 7 Nov 2022 14:22:55 +0000
(15:22 +0100)
committer
Jonathan Corbet
<corbet@lwn.net>
Wed, 9 Nov 2022 20:32:24 +0000
(13:32 -0700)
Add a blank line to make the sentence before the list render as a
separate paragraph, not a definition.
Fixes:
93858ae70cf4
("kmsan: add ReST documentation")
Suggested-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Alexander Potapenko <glider@google.com>
Link:
https://lore.kernel.org/r/20221107142255.4038811-1-glider@google.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/dev-tools/kmsan.rst
patch
|
blob
|
history
diff --git
a/Documentation/dev-tools/kmsan.rst
b/Documentation/dev-tools/kmsan.rst
index
2a53a80
..
55fa822
100644
(file)
--- a/
Documentation/dev-tools/kmsan.rst
+++ b/
Documentation/dev-tools/kmsan.rst
@@
-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, ...)``;