summaryrefslogtreecommitdiffstats
path: root/Documentation/dev-tools
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2017-02-13 14:16:02 -0500
committerJonathan Corbet <corbet@lwn.net>2017-02-15 17:09:13 -0500
commit291b9d73681f3e0123b8954eb20be22342987afc (patch)
tree1255cdae42b76025eb10c237e9c5b3774f731732 /Documentation/dev-tools
parentc33dea1eda7159f6854dcb54e58906936c26e727 (diff)
Improve sparse documentation
Add documentation of -DCONFIG_SPARSE_RCU_POINTER. I started to add documentation of -D__CHECK_ENDIAN__ as well, but discovered I'm too late; that's now enabled by default. Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/dev-tools')
-rw-r--r--Documentation/dev-tools/sparse.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/dev-tools/sparse.rst b/Documentation/dev-tools/sparse.rst
index 78aa00a604a0..ffdcc97f6f5a 100644
--- a/Documentation/dev-tools/sparse.rst
+++ b/Documentation/dev-tools/sparse.rst
@@ -103,3 +103,9 @@ have already built it.
103 103
104The optional make variable CF can be used to pass arguments to sparse. The 104The optional make variable CF can be used to pass arguments to sparse. The
105build system passes -Wbitwise to sparse automatically. 105build system passes -Wbitwise to sparse automatically.
106
107Checking RCU annotations
108~~~~~~~~~~~~~~~~~~~~~~~~
109
110RCU annotations are not checked by default. To enable RCU annotation
111checks, include -DCONFIG_SPARSE_RCU_POINTER in your CF flags.