[PATCH] ARM: OMAP2+: Fix CPCAP node reference leaks

Kevin Hilman khilman at baylibre.com
Wed Dec 2 16:08:03 PST 2026


On Tue, 24 Nov 2026 15:10:06 +0000, Yuho Choi wrote:
> omap4_cpcap_init(), cpcap_late_init() and omap4_twl_init() call
> of_find_compatible_node() to check whether the device tree has a
> "motorola,cpcap" node. of_find_compatible_node() returns the node with
> its reference count raised, but the callers only test the returned
> pointer and never drop that reference.
> 
> Put the node right after the check.
> 
> [...]

Applied, thanks!

[1/1] ARM: OMAP2+: Fix CPCAP node reference leaks
      commit: 2e258945598d64477824ab81f510fb7e856da5fd

Best regards,
-- 
Kevin Hilman (TI) <khilman at baylibre.com>




More information about the linux-arm-kernel mailing list