public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/9] of: fix bugs about refcount
@ 2025-02-09 12:58 Zijun Hu
  2025-02-09 12:58 ` [PATCH v2 2/9] of/irq: Fix device node refcount leakage in API of_irq_parse_one() Zijun Hu
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Zijun Hu @ 2025-02-09 12:58 UTC (permalink / raw)
  To: Rob Herring, Saravana Kannan, Lorenzo Pieralisi, Bjorn Helgaas,
	Marc Zyngier, Stefan Wiehler, Tony Lindgren, Thierry Reding,
	Benjamin Herrenschmidt, Julia Lawall
  Cc: Zijun Hu, devicetree, linux-kernel, Zijun Hu, stable

This patch series is to fix of bugs about refcount.

Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
---
Changes in v2:
- Add 2 unittest patches + 1 refcount bug fix + 1 refcount comments patch
- Correct titles and commit messages
- Link to v1: https://lore.kernel.org/r/20241209-of_irq_fix-v1-0-782f1419c8a1@quicinc.com

---
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(-)
---
base-commit: 40fc0083a9dbcf2e81b1506274cb541f84d022ed
change-id: 20241208-of_irq_fix-659514bc9aa3

Best regards,
-- 
Zijun Hu <quic_zijuhu@quicinc.com>


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

end of thread, other threads:[~2025-02-25 12:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-09 12:58 [PATCH v2 0/9] of: fix bugs about refcount Zijun Hu
2025-02-09 12:58 ` [PATCH v2 2/9] of/irq: Fix device node refcount leakage in API of_irq_parse_one() Zijun Hu
2025-02-09 12:58 ` [PATCH v2 4/9] of/irq: Fix device node refcount leakage in API of_irq_parse_raw() Zijun Hu
2025-02-09 12:58 ` [PATCH v2 5/9] of/irq: Fix device node refcount leakages in of_irq_count() Zijun Hu
2025-02-09 12:58 ` [PATCH v2 6/9] of/irq: Fix device node refcount leakage in API irq_of_parse_and_map() Zijun Hu
2025-02-09 12:59 ` [PATCH v2 7/9] of/irq: Fix device node refcount leakages in of_irq_init() Zijun Hu
2025-02-09 12:59 ` [PATCH v2 9/9] of: resolver: Fix device node refcount leakage in of_resolve_phandles() Zijun Hu
2025-02-24 23:26 ` [PATCH v2 0/9] of: fix bugs about refcount Rob Herring
2025-02-25 12:17   ` Zijun Hu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox