Messages in this thread | | | From | Romain Perier <> | Date | Wed, 18 May 2022 08:29:07 +0200 | Subject | Re: [PATCH] ARM: mstar: Fix refcount leaks |
| |
Hi,
Le jeu. 12 mai 2022 à 05:47, Miaoqian Lin <linmq006@gmail.com> a écrit : > > of_find_compatible_node() returns a node pointer with refcount > incremented, we should use of_node_put() on it when done. > Add missing of_node_put() to avoid refcount leak. > > Fixes: 5919eec0f092 ("ARM: mstar: SMP support") > Fixes: 312b62b6610c ("ARM: mstar: Add machine for MStar/Sigmastar Armv7 SoCs") > Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Looks good to me,
Reviewed-by: Romain Perier <romain.perier@gmail.com>
| |