[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161129154700.GA20441@ulmo.ba.sec>
Date: Tue, 29 Nov 2016 16:47:00 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: Johan Hovold <johan@...nel.org>
Cc: linux-pwm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pwm: fix device reference leak
On Tue, Nov 01, 2016 at 11:46:39AM +0100, Johan Hovold wrote:
> Make sure to drop the reference to the parent device taken by
> class_find_device() after "unexporting" any children when deregistering
> a pwm chip.
>
> Fixes: 0733424c9ba9 ("pwm: Unexport children before chip removal")
> Signed-off-by: Johan Hovold <johan@...nel.org>
> ---
> drivers/pwm/sysfs.c | 2 ++
> 1 file changed, 2 insertions(+)
Applied, thanks.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists