[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbS2Ksdo1kP-LZ5Dva-ZY_R9k5Nai2nAji+OGouYCAZHA@mail.gmail.com>
Date: Mon, 27 Jun 2022 09:59:33 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Miaoqian Lin <linmq006@...il.com>
Cc: David Airlie <airlied@...ux.ie>, Daniel Vetter <daniel@...ll.ch>,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/mcde: Fix refcount leak in mcde_dsi_bind
On Wed, May 25, 2022 at 1:54 PM Miaoqian Lin <linmq006@...il.com> wrote:
> Every iteration of for_each_available_child_of_node() decrements
> the reference counter of the previous node. There is no decrement
> when break out from the loop and results in refcount leak.
> Add missing of_node_put() to fix this.
>
> Fixes: 5fc537bfd000 ("drm/mcde: Add new driver for ST-Ericsson MCDE")
> Signed-off-by: Miaoqian Lin <linmq006@...il.com>
Patch applied for next as nonurgent fix.
Yours,
Linus Walleij
Powered by blists - more mailing lists