All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [Re-PATCH] arch: arm: mach-pxa: Add missing of_node_put in irq.c
@ 2022-06-15 10:33 ` heliang
  0 siblings, 0 replies; 8+ messages in thread
From: heliang @ 2022-06-15 10:33 UTC (permalink / raw)
  To: daniel, haojian.zhuang, robert.jarzmik, linux
  Cc: linux-arm-kernel, linux-kernel, windhl

In pxa_dt_irq_init(), of_find_matching_node() will return a node
pointer with refcount incremented. We should use of_node_put in
fail path or when it is not used anymore. This goto-label patch
style is advised by Daniel.

Signed-off-by: heliang <windhl@126.com>
---
 arch/arm/mach-pxa/irq.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c
index 96f33ef1d9ea..338356b9f37c 100644
--- a/arch/arm/mach-pxa/irq.c
+++ b/arch/arm/mach-pxa/irq.c
@@ -247,13 +247,13 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
 				   &pxa_internal_irq_nr);
 	if (ret) {
 		pr_err("Not found marvell,intc-nr-irqs property\n");
-		return;
+		goto out_put;
 	}
 
 	ret = of_address_to_resource(node, 0, &res);
 	if (ret < 0) {
 		pr_err("No registers defined for node\n");
-		return;
+		goto out_put;
 	}
 	pxa_irq_base = io_p2v(res.start);
 
@@ -263,9 +263,12 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
 	ret = irq_alloc_descs(-1, 0, pxa_internal_irq_nr, 0);
 	if (ret < 0) {
 		pr_err("Failed to allocate IRQ numbers\n");
-		return;
+		goto out_put;
 	}
 
 	pxa_init_irq_common(node, pxa_internal_irq_nr, fn);
+	
+out_put:
+	of_node_put(node);	
 }
 #endif /* CONFIG_OF */
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH] [Re-PATCH] arch: arm: mach-pxa: Add missing of_node_put in irq.c
@ 2022-06-15 10:33 ` heliang
  0 siblings, 0 replies; 8+ messages in thread
From: heliang @ 2022-06-15 10:33 UTC (permalink / raw)
  To: daniel, haojian.zhuang, robert.jarzmik, linux
  Cc: linux-arm-kernel, linux-kernel, windhl

In pxa_dt_irq_init(), of_find_matching_node() will return a node
pointer with refcount incremented. We should use of_node_put in
fail path or when it is not used anymore. This goto-label patch
style is advised by Daniel.

Signed-off-by: heliang <windhl@126.com>
---
 arch/arm/mach-pxa/irq.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c
index 96f33ef1d9ea..338356b9f37c 100644
--- a/arch/arm/mach-pxa/irq.c
+++ b/arch/arm/mach-pxa/irq.c
@@ -247,13 +247,13 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
 				   &pxa_internal_irq_nr);
 	if (ret) {
 		pr_err("Not found marvell,intc-nr-irqs property\n");
-		return;
+		goto out_put;
 	}
 
 	ret = of_address_to_resource(node, 0, &res);
 	if (ret < 0) {
 		pr_err("No registers defined for node\n");
-		return;
+		goto out_put;
 	}
 	pxa_irq_base = io_p2v(res.start);
 
@@ -263,9 +263,12 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
 	ret = irq_alloc_descs(-1, 0, pxa_internal_irq_nr, 0);
 	if (ret < 0) {
 		pr_err("Failed to allocate IRQ numbers\n");
-		return;
+		goto out_put;
 	}
 
 	pxa_init_irq_common(node, pxa_internal_irq_nr, fn);
+	
+out_put:
+	of_node_put(node);	
 }
 #endif /* CONFIG_OF */
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] [Re-PATCH] arch: arm: mach-pxa: Add missing of_node_put in irq.c
  2022-06-15 10:33 ` heliang
@ 2022-06-15 10:35   ` Daniel Mack
  -1 siblings, 0 replies; 8+ messages in thread
From: Daniel Mack @ 2022-06-15 10:35 UTC (permalink / raw)
  To: heliang, haojian.zhuang, robert.jarzmik, linux
  Cc: linux-arm-kernel, linux-kernel

On 6/15/22 12:33, heliang wrote:
> In pxa_dt_irq_init(), of_find_matching_node() will return a node
> pointer with refcount incremented. We should use of_node_put in
> fail path or when it is not used anymore. This goto-label patch
> style is advised by Daniel.
> 
> Signed-off-by: heliang <windhl@126.com>

Thanks for your patch!

Acked-by: Daniel Mack <daniel@zonque.org>

> ---
>  arch/arm/mach-pxa/irq.c | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c
> index 96f33ef1d9ea..338356b9f37c 100644
> --- a/arch/arm/mach-pxa/irq.c
> +++ b/arch/arm/mach-pxa/irq.c
> @@ -247,13 +247,13 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
>  				   &pxa_internal_irq_nr);
>  	if (ret) {
>  		pr_err("Not found marvell,intc-nr-irqs property\n");
> -		return;
> +		goto out_put;
>  	}
>  
>  	ret = of_address_to_resource(node, 0, &res);
>  	if (ret < 0) {
>  		pr_err("No registers defined for node\n");
> -		return;
> +		goto out_put;
>  	}
>  	pxa_irq_base = io_p2v(res.start);
>  
> @@ -263,9 +263,12 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
>  	ret = irq_alloc_descs(-1, 0, pxa_internal_irq_nr, 0);
>  	if (ret < 0) {
>  		pr_err("Failed to allocate IRQ numbers\n");
> -		return;
> +		goto out_put;
>  	}
>  
>  	pxa_init_irq_common(node, pxa_internal_irq_nr, fn);
> +	
> +out_put:
> +	of_node_put(node);	
>  }
>  #endif /* CONFIG_OF */


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] [Re-PATCH] arch: arm: mach-pxa: Add missing of_node_put in irq.c
@ 2022-06-15 10:35   ` Daniel Mack
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel Mack @ 2022-06-15 10:35 UTC (permalink / raw)
  To: heliang, haojian.zhuang, robert.jarzmik, linux
  Cc: linux-arm-kernel, linux-kernel

On 6/15/22 12:33, heliang wrote:
> In pxa_dt_irq_init(), of_find_matching_node() will return a node
> pointer with refcount incremented. We should use of_node_put in
> fail path or when it is not used anymore. This goto-label patch
> style is advised by Daniel.
> 
> Signed-off-by: heliang <windhl@126.com>

Thanks for your patch!

Acked-by: Daniel Mack <daniel@zonque.org>

> ---
>  arch/arm/mach-pxa/irq.c | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c
> index 96f33ef1d9ea..338356b9f37c 100644
> --- a/arch/arm/mach-pxa/irq.c
> +++ b/arch/arm/mach-pxa/irq.c
> @@ -247,13 +247,13 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
>  				   &pxa_internal_irq_nr);
>  	if (ret) {
>  		pr_err("Not found marvell,intc-nr-irqs property\n");
> -		return;
> +		goto out_put;
>  	}
>  
>  	ret = of_address_to_resource(node, 0, &res);
>  	if (ret < 0) {
>  		pr_err("No registers defined for node\n");
> -		return;
> +		goto out_put;
>  	}
>  	pxa_irq_base = io_p2v(res.start);
>  
> @@ -263,9 +263,12 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
>  	ret = irq_alloc_descs(-1, 0, pxa_internal_irq_nr, 0);
>  	if (ret < 0) {
>  		pr_err("Failed to allocate IRQ numbers\n");
> -		return;
> +		goto out_put;
>  	}
>  
>  	pxa_init_irq_common(node, pxa_internal_irq_nr, fn);
> +	
> +out_put:
> +	of_node_put(node);	
>  }
>  #endif /* CONFIG_OF */


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] [Re-PATCH] arch: arm: mach-pxa: Add missing of_node_put in irq.c
  2022-06-15 10:33 ` heliang
@ 2022-06-15 10:42   ` Conor Dooley
  -1 siblings, 0 replies; 8+ messages in thread
From: Conor Dooley @ 2022-06-15 10:42 UTC (permalink / raw)
  To: heliang, daniel, haojian.zhuang, robert.jarzmik, linux
  Cc: linux-arm-kernel, linux-kernel


On 15/06/2022 11:33, heliang wrote:
> [PATCH] [Re-PATCH] arch: arm: mach-pxa: Add missing of_node_put in irq.c

You mean [PATCH v2]? Pass -v N arg to format-patch & it'll do it
for you.

> In pxa_dt_irq_init(), of_find_matching_node() will return a node
> pointer with refcount incremented. We should use of_node_put in
> fail path or when it is not used anymore. This goto-label patch
> style is advised by Daniel.
> 
> Signed-off-by: heliang <windhl@126.com>

On all these patches, is "heliang" your (full) real name?
See:
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#developer-s-certificate-of-origin-1-1

> ---

It's helpful to put a changelog here too for what changed since v1

>   arch/arm/mach-pxa/irq.c | 9 ++++++---
>   1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c
> index 96f33ef1d9ea..338356b9f37c 100644
> --- a/arch/arm/mach-pxa/irq.c
> +++ b/arch/arm/mach-pxa/irq.c
> @@ -247,13 +247,13 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
>   				   &pxa_internal_irq_nr);
>   	if (ret) {
>   		pr_err("Not found marvell,intc-nr-irqs property\n");
> -		return;
> +		goto out_put;
>   	}
>   
>   	ret = of_address_to_resource(node, 0, &res);
>   	if (ret < 0) {
>   		pr_err("No registers defined for node\n");
> -		return;
> +		goto out_put;
>   	}
>   	pxa_irq_base = io_p2v(res.start);
>   
> @@ -263,9 +263,12 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
>   	ret = irq_alloc_descs(-1, 0, pxa_internal_irq_nr, 0);
>   	if (ret < 0) {
>   		pr_err("Failed to allocate IRQ numbers\n");
> -		return;
> +		goto out_put;
>   	}
>   
>   	pxa_init_irq_common(node, pxa_internal_irq_nr, fn);
> +	
> +out_put:
> +	of_node_put(node);	
>   }
>   #endif /* CONFIG_OF */

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] [Re-PATCH] arch: arm: mach-pxa: Add missing of_node_put in irq.c
@ 2022-06-15 10:42   ` Conor Dooley
  0 siblings, 0 replies; 8+ messages in thread
From: Conor Dooley @ 2022-06-15 10:42 UTC (permalink / raw)
  To: heliang, daniel, haojian.zhuang, robert.jarzmik, linux
  Cc: linux-arm-kernel, linux-kernel


On 15/06/2022 11:33, heliang wrote:
> [PATCH] [Re-PATCH] arch: arm: mach-pxa: Add missing of_node_put in irq.c

You mean [PATCH v2]? Pass -v N arg to format-patch & it'll do it
for you.

> In pxa_dt_irq_init(), of_find_matching_node() will return a node
> pointer with refcount incremented. We should use of_node_put in
> fail path or when it is not used anymore. This goto-label patch
> style is advised by Daniel.
> 
> Signed-off-by: heliang <windhl@126.com>

On all these patches, is "heliang" your (full) real name?
See:
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#developer-s-certificate-of-origin-1-1

> ---

It's helpful to put a changelog here too for what changed since v1

>   arch/arm/mach-pxa/irq.c | 9 ++++++---
>   1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c
> index 96f33ef1d9ea..338356b9f37c 100644
> --- a/arch/arm/mach-pxa/irq.c
> +++ b/arch/arm/mach-pxa/irq.c
> @@ -247,13 +247,13 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
>   				   &pxa_internal_irq_nr);
>   	if (ret) {
>   		pr_err("Not found marvell,intc-nr-irqs property\n");
> -		return;
> +		goto out_put;
>   	}
>   
>   	ret = of_address_to_resource(node, 0, &res);
>   	if (ret < 0) {
>   		pr_err("No registers defined for node\n");
> -		return;
> +		goto out_put;
>   	}
>   	pxa_irq_base = io_p2v(res.start);
>   
> @@ -263,9 +263,12 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
>   	ret = irq_alloc_descs(-1, 0, pxa_internal_irq_nr, 0);
>   	if (ret < 0) {
>   		pr_err("Failed to allocate IRQ numbers\n");
> -		return;
> +		goto out_put;
>   	}
>   
>   	pxa_init_irq_common(node, pxa_internal_irq_nr, fn);
> +	
> +out_put:
> +	of_node_put(node);	
>   }
>   #endif /* CONFIG_OF */

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] [Re-PATCH] arch: arm: mach-pxa: Add missing of_node_put in irq.c
       [not found]   ` <202206151925336656862@126.com>
@ 2022-06-15 11:25       ` Conor Dooley
  0 siblings, 0 replies; 8+ messages in thread
From: Conor Dooley @ 2022-06-15 11:25 UTC (permalink / raw)
  To: windhl, heliang, daniel, haojian.zhuang, robert.jarzmik, linux
  Cc: linux-arm-kernel, linux-kernel

On 15/06/2022 12:25, windhl@126.com wrote:
> Sorry for my trouble. So I wonder if I have to make another version patch to complete these tasks in this commit:
> 
> (1) use -v N to automatically mean [PATCH v2]
> (2) use a formal real name, my real name is Liang He

This one needs to be a resend I think, so (1) applies too

> (3) add changelog

And since you're resending anyway, yeah add a changelog.

Thanks,
Conor.

> 
> or complete these tasks in future patch commit?
> 
> Thanks!
> 
> Liang
> 
> 
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> windhl@126.com
> 
>     *From:* Conor Dooley <mailto:mail@conchuod.ie>
>     *Date:* 2022-06-15 18:42
>     *To:* heliang <mailto:windhl@126.com>; daniel <mailto:daniel@zonque.org>; haojian.zhuang <mailto:haojian.zhuang@gmail.com>; robert.jarzmik <mailto:robert.jarzmik@free.fr>; linux <mailto:linux@armlinux.org.uk>
>     *CC:* linux-arm-kernel <mailto:linux-arm-kernel@lists.infradead.org>; linux-kernel <mailto:linux-kernel@vger.kernel.org>
>     *Subject:* Re: [PATCH] [Re-PATCH] arch: arm: mach-pxa: Add missing of_node_put in irq.c
>     On 15/06/2022 11:33, heliang wrote:
>      > [PATCH] [Re-PATCH] arch: arm: mach-pxa: Add missing of_node_put in irq.c
>     You mean [PATCH v2]? Pass -v N arg to format-patch & it'll do it
>     for you.
>      > In pxa_dt_irq_init(), of_find_matching_node() will return a node
>      > pointer with refcount incremented. We should use of_node_put in
>      > fail path or when it is not used anymore. This goto-label patch
>      > style is advised by Daniel.
>      >
>      > Signed-off-by: heliang <windhl@126.com>
>     On all these patches, is "heliang" your (full) real name?
>     See:
>     https://www.kernel.org/doc/html/latest/process/submitting-patches.html#developer-s-certificate-of-origin-1-1
>      > ---
>     It's helpful to put a changelog here too for what changed since v1
>      >   arch/arm/mach-pxa/irq.c | 9 ++++++---
>      >   1 file changed, 6 insertions(+), 3 deletions(-)
>      >
>      > diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c
>      > index 96f33ef1d9ea..338356b9f37c 100644
>      > --- a/arch/arm/mach-pxa/irq.c
>      > +++ b/arch/arm/mach-pxa/irq.c
>      > @@ -247,13 +247,13 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
>      >      &pxa_internal_irq_nr);
>      >   if (ret) {
>      >   pr_err("Not found marvell,intc-nr-irqs property\n");
>      > - return;
>      > + goto out_put;
>      >   }
>      >
>      >   ret = of_address_to_resource(node, 0, &res);
>      >   if (ret < 0) {
>      >   pr_err("No registers defined for node\n");
>      > - return;
>      > + goto out_put;
>      >   }
>      >   pxa_irq_base = io_p2v(res.start);
>      >
>      > @@ -263,9 +263,12 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
>      >   ret = irq_alloc_descs(-1, 0, pxa_internal_irq_nr, 0);
>      >   if (ret < 0) {
>      >   pr_err("Failed to allocate IRQ numbers\n");
>      > - return;
>      > + goto out_put;
>      >   }
>      >
>      >   pxa_init_irq_common(node, pxa_internal_irq_nr, fn);
>      > +
>      > +out_put:
>      > + of_node_put(node);
>      >   }
>      >   #endif /* CONFIG_OF */
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] [Re-PATCH] arch: arm: mach-pxa: Add missing of_node_put in irq.c
@ 2022-06-15 11:25       ` Conor Dooley
  0 siblings, 0 replies; 8+ messages in thread
From: Conor Dooley @ 2022-06-15 11:25 UTC (permalink / raw)
  To: windhl, heliang, daniel, haojian.zhuang, robert.jarzmik, linux
  Cc: linux-arm-kernel, linux-kernel

On 15/06/2022 12:25, windhl@126.com wrote:
> Sorry for my trouble. So I wonder if I have to make another version patch to complete these tasks in this commit:
> 
> (1) use -v N to automatically mean [PATCH v2]
> (2) use a formal real name, my real name is Liang He

This one needs to be a resend I think, so (1) applies too

> (3) add changelog

And since you're resending anyway, yeah add a changelog.

Thanks,
Conor.

> 
> or complete these tasks in future patch commit?
> 
> Thanks!
> 
> Liang
> 
> 
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> windhl@126.com
> 
>     *From:* Conor Dooley <mailto:mail@conchuod.ie>
>     *Date:* 2022-06-15 18:42
>     *To:* heliang <mailto:windhl@126.com>; daniel <mailto:daniel@zonque.org>; haojian.zhuang <mailto:haojian.zhuang@gmail.com>; robert.jarzmik <mailto:robert.jarzmik@free.fr>; linux <mailto:linux@armlinux.org.uk>
>     *CC:* linux-arm-kernel <mailto:linux-arm-kernel@lists.infradead.org>; linux-kernel <mailto:linux-kernel@vger.kernel.org>
>     *Subject:* Re: [PATCH] [Re-PATCH] arch: arm: mach-pxa: Add missing of_node_put in irq.c
>     On 15/06/2022 11:33, heliang wrote:
>      > [PATCH] [Re-PATCH] arch: arm: mach-pxa: Add missing of_node_put in irq.c
>     You mean [PATCH v2]? Pass -v N arg to format-patch & it'll do it
>     for you.
>      > In pxa_dt_irq_init(), of_find_matching_node() will return a node
>      > pointer with refcount incremented. We should use of_node_put in
>      > fail path or when it is not used anymore. This goto-label patch
>      > style is advised by Daniel.
>      >
>      > Signed-off-by: heliang <windhl@126.com>
>     On all these patches, is "heliang" your (full) real name?
>     See:
>     https://www.kernel.org/doc/html/latest/process/submitting-patches.html#developer-s-certificate-of-origin-1-1
>      > ---
>     It's helpful to put a changelog here too for what changed since v1
>      >   arch/arm/mach-pxa/irq.c | 9 ++++++---
>      >   1 file changed, 6 insertions(+), 3 deletions(-)
>      >
>      > diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c
>      > index 96f33ef1d9ea..338356b9f37c 100644
>      > --- a/arch/arm/mach-pxa/irq.c
>      > +++ b/arch/arm/mach-pxa/irq.c
>      > @@ -247,13 +247,13 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
>      >      &pxa_internal_irq_nr);
>      >   if (ret) {
>      >   pr_err("Not found marvell,intc-nr-irqs property\n");
>      > - return;
>      > + goto out_put;
>      >   }
>      >
>      >   ret = of_address_to_resource(node, 0, &res);
>      >   if (ret < 0) {
>      >   pr_err("No registers defined for node\n");
>      > - return;
>      > + goto out_put;
>      >   }
>      >   pxa_irq_base = io_p2v(res.start);
>      >
>      > @@ -263,9 +263,12 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
>      >   ret = irq_alloc_descs(-1, 0, pxa_internal_irq_nr, 0);
>      >   if (ret < 0) {
>      >   pr_err("Failed to allocate IRQ numbers\n");
>      > - return;
>      > + goto out_put;
>      >   }
>      >
>      >   pxa_init_irq_common(node, pxa_internal_irq_nr, fn);
>      > +
>      > +out_put:
>      > + of_node_put(node);
>      >   }
>      >   #endif /* CONFIG_OF */
> 
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-06-15 11:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-15 10:33 [PATCH] [Re-PATCH] arch: arm: mach-pxa: Add missing of_node_put in irq.c heliang
2022-06-15 10:33 ` heliang
2022-06-15 10:35 ` Daniel Mack
2022-06-15 10:35   ` Daniel Mack
2022-06-15 10:42 ` Conor Dooley
2022-06-15 10:42   ` Conor Dooley
     [not found]   ` <202206151925336656862@126.com>
2022-06-15 11:25     ` Conor Dooley
2022-06-15 11:25       ` Conor Dooley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.