[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210510104158.GA296@onstation.org>
Date: Mon, 10 May 2021 06:41:58 -0400
From: Brian Masney <masneyb@...tation.org>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: Lee Jones <lee.jones@...aro.org>, dri-devel@...ts.freedesktop.org,
linux-fbdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Daniel Thompson <daniel.thompson@...aro.org>,
Jingoo Han <jingoohan1@...il.com>, Dan Murphy <dmurphy@...com>
Subject: Re: [PATCH v1 1/1] backlight: lm3630a_bl: Put fwnode in error case
during ->probe()
On Mon, May 10, 2021 at 12:57:16PM +0300, Andy Shevchenko wrote:
> device_for_each_child_node() bumps a reference counting of a returned variable.
> We have to balance it whenever we return to the caller.
>
> Fixes: 8fbce8efe15cd ("backlight: lm3630a: Add firmware node support")
> Cc: Brian Masney <masneyb@...tation.org>
> Cc: Dan Murphy <dmurphy@...com>
> Signed-off-by: Andy Shevchenko <andy.shevchenko@...il.com>
Reviewed-by: Brian Masney <masneyb@...tation.org>
Powered by blists - more mailing lists