summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Documentation/doc-guide/kernel-doc.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/doc-guide/kernel-doc.rst b/Documentation/doc-guide/kernel-doc.rst
index 0de0e344e10d..b56128d7f5c3 100644
--- a/Documentation/doc-guide/kernel-doc.rst
+++ b/Documentation/doc-guide/kernel-doc.rst
@@ -56,11 +56,14 @@ documentation comments. For example::
scripts/kernel-doc -v -none drivers/foo/bar.c
-The documentation format is verified by the kernel build when it is
-requested to perform extra gcc checks::
+The documentation format of ``.c`` files is also verified by the kernel build
+when it is requested to perform extra gcc checks::
make W=n
+However, the above command does not verify header files. These should be checked
+separately using ``kernel-doc``.
+
Function documentation
----------------------