Re: [PATCH] video: valkyriefb: Fix reference count leak in valkyriefb_init

From: Helge Deller

Date: Tue Oct 28 2025 - 17:15:33 EST


On 10/27/25 09:43, Miaoqian Lin wrote:
The of_find_node_by_name() function returns a device tree node with its
reference count incremented. The caller is responsible for calling
of_node_put() to release this reference when done.

Found via static analysis.

Fixes: cc5d0189b9ba ("[PATCH] powerpc: Remove device_node addrs/n_addr")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>
---
drivers/video/fbdev/valkyriefb.c | 2 ++
1 file changed, 2 insertions(+)

applied.

Thanks!
Helge