On Sat, Oct 12, 2024 at 3:22 AM Javier Carrasco
<[email protected]> wrote:
>
> Early exits (goto, break, return) from for_each_child_of_node() required
> an explicit call to of_node_put(), which was not introduced with the
> break if cnt == MAX_CRTC.
>
> Add the missing of_node_put() before the break.
>
> Cc: [email protected]
> Fixes: d761b9450e31 ("drm/mediatek: Add cnt checking for coverity issue")
>
> Signed-off-by: Javier Carrasco <[email protected]>

Reviewed-by: Chen-Yu Tsai <[email protected]>

Reply via email to