mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-16 05:47:55 +00:00
Every iteration of for_each_child_of_node() decrements
the reference count of the previous node.
When break from a for_each_child_of_node() loop,
we need to explicitly call of_node_put() on the child node when
not need anymore.
Add missing of_node_put() to avoid refcount leak.
Fixes:
|
||
|---|---|---|
| .. | ||
| altera_msgdma.c | ||
| altera_msgdma.h | ||
| altera_msgdmahw.h | ||
| altera_sgdma.c | ||
| altera_sgdma.h | ||
| altera_sgdmahw.h | ||
| altera_tse_ethtool.c | ||
| altera_tse_main.c | ||
| altera_tse.h | ||
| altera_utils.c | ||
| altera_utils.h | ||
| Kconfig | ||
| Makefile | ||