mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 00:26:47 +07:00
cc76404fea
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 |