mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02:00
The call to of_find_compatible_node() returns a node pointer with
refcount incremented thus it must be explicitly decremented after the
last usage.
irq_domain_add_linear() also calls of_node_get() to increase refcount,
so irq_domain() will not be affected when it is released.
Detected by coccinelle.
Fixes:
|
||
|---|---|---|
| .. | ||
| adder875.c | ||
| ep88xc.c | ||
| Kconfig | ||
| m8xx_setup.c | ||
| machine_check.c | ||
| Makefile | ||
| mpc8xx.h | ||
| mpc86xads_setup.c | ||
| mpc86xads.h | ||
| mpc885ads_setup.c | ||
| mpc885ads.h | ||
| pic.c | ||
| pic.h | ||
| tqm8xx_setup.c | ||