Re: [PATCH v2] leds: tlc591xx: fix leak of device node iterator
From: Pavel Machek
Date: Wed Sep 30 2020 - 13:11:53 EST
Hi!
> > In one of the error paths of the for_each_child_of_node loop in
> > tlc591xx_probe, add missing call to of_node_put.
> >
> > Fixes: 1ab4531ad132 ("leds: tlc591xx: simplify driver by using the
> > managed led API")
> >
> > Signed-off-by: Tobias Jordan <kernel@xxxxxxx>
>
> Reviewed-by: Marek Behún <kabel@xxxxxxxxxx>
Thanks, applied.
Marek: Thanks for review. If I can get you to trim parts not
interesting for the email, I'll be even happier.
:-).
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: PGP signature