Re: [PATCH v2 0/9] of: fix bugs about refcount
From: Zijun Hu
Date: Tue Feb 25 2025 - 07:17:45 EST
On 2025/2/25 07:26, Rob Herring wrote:
>> ---
>> Zijun Hu (9):
>> of: unittest: Add a case to test if API of_irq_parse_one() leaks refcount
>> of/irq: Fix device node refcount leakage in API of_irq_parse_one()
>> of: unittest: Add a case to test if API of_irq_parse_raw() leaks refcount
>> of/irq: Fix device node refcount leakage in API of_irq_parse_raw()
>> of/irq: Fix device node refcount leakages in of_irq_count()
>> of/irq: Fix device node refcount leakage in API irq_of_parse_and_map()
>> of/irq: Fix device node refcount leakages in of_irq_init()
>> of/irq: Add comments about refcount for API of_irq_find_parent()
>> of: resolver: Fix device node refcount leakage in of_resolve_phandles()
>>
>> drivers/of/irq.c | 34 ++++++++++---
>> drivers/of/resolver.c | 2 +
>> drivers/of/unittest-data/tests-interrupts.dtsi | 13 +++++
>> drivers/of/unittest.c | 67 ++++++++++++++++++++++++++
>> 4 files changed, 110 insertions(+), 6 deletions(-)
> I've applied the series. I made a few adjustments to use __free()
> cleanup and simplify things.
thank you, LGTM for all adjustments but perhaps a mistake fixed by
https://lore.kernel.org/all/20250225-fix_auto-v1-1-cf8b91a311dd@xxxxxxxxxxx/