[PATCH] docs: genericirq.rst: remove extra parenthesis in function definition

Chih-Wei Chien posted 1 patch 1 year, 6 months ago
Documentation/core-api/genericirq.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] docs: genericirq.rst: remove extra parenthesis in function definition
Posted by Chih-Wei Chien 1 year, 6 months ago
In the paragraph titled "Default flow implementations", the helper
function definition (simplified excerpt) for

  noop(struct irq_data *data)

had an extraneous closing parenthesis. This commit removes the
unnecessary parenthesis, correcting the function definition.

Signed-off-by: Chih-Wei Chien <idoleat@taiker.tw>
---
 Documentation/core-api/genericirq.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/core-api/genericirq.rst b/Documentation/core-api/genericirq.rst
index 4a460639ab1c..582bde9bf5a9 100644
--- a/Documentation/core-api/genericirq.rst
+++ b/Documentation/core-api/genericirq.rst
@@ -210,7 +210,7 @@ implemented (simplified excerpt)::
         }
     }
 
-    noop(struct irq_data *data))
+    noop(struct irq_data *data)
     {
     }
 
-- 
2.45.2
Re: [PATCH] docs: genericirq.rst: remove extra parenthesis in function definition
Posted by Jonathan Corbet 1 year, 5 months ago
Chih-Wei Chien <idoleat@taiker.tw> writes:

> In the paragraph titled "Default flow implementations", the helper
> function definition (simplified excerpt) for
>
>   noop(struct irq_data *data)
>
> had an extraneous closing parenthesis. This commit removes the
> unnecessary parenthesis, correcting the function definition.
>
> Signed-off-by: Chih-Wei Chien <idoleat@taiker.tw>
> ---
>  Documentation/core-api/genericirq.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/core-api/genericirq.rst b/Documentation/core-api/genericirq.rst
> index 4a460639ab1c..582bde9bf5a9 100644
> --- a/Documentation/core-api/genericirq.rst
> +++ b/Documentation/core-api/genericirq.rst
> @@ -210,7 +210,7 @@ implemented (simplified excerpt)::
>          }
>      }
>  
> -    noop(struct irq_data *data))
> +    noop(struct irq_data *data)
>      {

Applied, thanks.

jon