Re: [PATCH] video: fbdev: Fix refcount leak in clcdfb_of_vram_setup

2022-05-19 Thread Helge Deller
On 5/12/22 13:59, Miaoqian Lin wrote: > of_parse_phandle() returns a node pointer with refcount > incremented, we should use of_node_put() on it when not need anymore. > Add missing of_node_put() to avoid refcount leak. > > Fixes: d10715be03bd ("video: ARM CLCD: Add DT support") > Signed-off-by:

[PATCH] video: fbdev: Fix refcount leak in clcdfb_of_vram_setup

2022-05-12 Thread Miaoqian Lin
of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak. Fixes: d10715be03bd ("video: ARM CLCD: Add DT support") Signed-off-by: Miaoqian Lin --- drivers/video/fbdev/amba-clcd.c