lkml.org 
[lkml]   [2019]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] docs: kernel-doc: typo "if ... if" -> "if ... is"
Date
From: Frank Rowand <frank.rowand@sony.com>

"If no *function* if specified" should instead be
"If no *function* is specified".

Reported-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
---
Documentation/doc-guide/kernel-doc.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/doc-guide/kernel-doc.rst b/Documentation/doc-guide/kernel-doc.rst
index 6513c16b7e4f..f96059767c8c 100644
--- a/Documentation/doc-guide/kernel-doc.rst
+++ b/Documentation/doc-guide/kernel-doc.rst
@@ -490,7 +490,7 @@ doc: *title*

functions: *[ function ...]*
Include documentation for each *function* in *source*.
- If no *function* if specified, the documentation for all functions
+ If no *function* is specified, the documentation for all functions
and types in the *source* will be included.

Examples::
--
Frank Rowand <frank.rowand@sony.com>
\
 
 \ /
  Last update: 2019-02-11 23:39    [W:0.119 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site