Re: [PATCH 1/2] drm/mediatek: Fix child node refcount handling in early exit

2024-10-28 Thread AngeloGioacchino Del Regno
Il 11/10/24 21:21, Javier Carrasco ha scritto: 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: sta...@vger.kernel.org Fixes

Re: [PATCH 1/2] drm/mediatek: Fix child node refcount handling in early exit

2024-10-28 Thread Chen-Yu Tsai
On Sat, Oct 12, 2024 at 3:22 AM Javier Carrasco 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: sta...@

Re: [PATCH 1/2] drm/mediatek: Fix child node refcount handling in early exit

2024-10-22 Thread 胡俊光

[PATCH 1/2] drm/mediatek: Fix child node refcount handling in early exit

2024-10-11 Thread Javier Carrasco
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: sta...@vger.kernel.org Fixes: d761b9450e31 ("drm/mediatek: Add cnt checking f