2019-02-11 22:41:08

by Frank Rowand

[permalink] [raw]
Subject: [PATCH] docs: kernel-doc: typo "if ... if" -> "if ... is"

From: Frank Rowand <[email protected]>

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

Reported-by: Matthew Wilcox <[email protected]>
Signed-off-by: Frank Rowand <[email protected]>
---
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 <[email protected]>



2019-02-17 22:39:51

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] docs: kernel-doc: typo "if ... if" -> "if ... is"

On Mon, 11 Feb 2019 14:38:04 -0800
[email protected] wrote:

> From: Frank Rowand <[email protected]>
>
> "If no *function* if specified" should instead be
> "If no *function* is specified".
>
> Reported-by: Matthew Wilcox <[email protected]>
> Signed-off-by: Frank Rowand <[email protected]>

Applied, thanks.

jon