Re: [PATCH v1 1/1] backlight: lm3630a_bl: Put fwnode in error case during ->probe()

From
Brian Masney <hidden>
Date
2021-05-10 11:11:00
Also in
dri-devel, lkml
Reply to
Andy Shevchenko, 2021-05-10
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 <redacted>
Cc: Dan Murphy <redacted>
Signed-off-by: Andy Shevchenko <redacted>
Reviewed-by: Brian Masney <redacted>
Thread (4 messages) 4 messages, 4 authors, last reply 2021-05-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help