From: Andy Shevchenko <hidden> Date: 2021-05-10 09:57:25
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>
---
drivers/video/backlight/lm3630a_bl.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
From: Brian Masney <hidden> Date: 2021-05-10 11:11:00
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>
From: Daniel Thompson <hidden> Date: 2021-05-13 10:38:02
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>
From: Lee Jones <hidden> Date: 2021-05-19 14:33:34
On Mon, 10 May 2021, 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>
---
drivers/video/backlight/lm3630a_bl.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog