mirror of
https://github.com/torvalds/linux.git
synced 2024-09-20 23:13:00 +00:00
7fcb9cb2fe
of_graph_get_next_endpoint() releases the reference to the previous
endpoint on each iteration, but when parsing fails the loop exits
early meaning the last reference is never dropped.
Fix it by dropping the refcount in the exit condition.
Fixes:
|
||
---|---|---|
.. | ||
coresight | ||
intel_th | ||
ptt | ||
stm | ||
Kconfig |