Re: [PATCH 2/3] of: irq: make callers of of_irq_parse_one() release the device node

2023-03-04 Thread Geert Uytterhoeven
Hi Jean-Jacques, On Sat, Mar 4, 2023 at 11:34 AM Jean-Jacques Hiblot wrote: > On 02/03/2023 08:49, Geert Uytterhoeven wrote: > > On Wed, Mar 1, 2023 at 7:53 PM Jean-Jacques Hiblot > > wrote: > >> of_irq_parse_one() does a get() on the device node returned in out_irq->np. > >> Callers of

Re: [PATCH 2/3] of: irq: make callers of of_irq_parse_one() release the device node

2023-03-04 Thread Jean-Jacques Hiblot
On 02/03/2023 08:49, Geert Uytterhoeven wrote: Hi Jean-Jacques, Thanks for your patch! On Wed, Mar 1, 2023 at 7:53 PM Jean-Jacques Hiblot wrote: of_irq_parse_one() does a get() on the device node returned in out_irq->np. Callers of of_irq_parse_one() must do a put() when they are done

Re: [PATCH 2/3] of: irq: make callers of of_irq_parse_one() release the device node

2023-03-01 Thread Geert Uytterhoeven
Hi Jean-Jacques, Thanks for your patch! On Wed, Mar 1, 2023 at 7:53 PM Jean-Jacques Hiblot wrote: > of_irq_parse_one() does a get() on the device node returned in out_irq->np. > Callers of of_irq_parse_one() must do a put() when they are done with it. What does "be done with it" really mean

[PATCH 2/3] of: irq: make callers of of_irq_parse_one() release the device node

2023-03-01 Thread Jean-Jacques Hiblot
of_irq_parse_one() does a get() on the device node returned in out_irq->np. Callers of of_irq_parse_one() must do a put() when they are done with it. Signed-off-by: Jean-Jacques Hiblot --- .../mach-shmobile/regulator-quirk-rcar-gen2.c | 1 + arch/powerpc/sysdev/mpic_msi.c| 1 +