[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171129112455.lqxuubv6dtzl5tf5@dell>
Date: Wed, 29 Nov 2017 11:24:55 +0000
From: Lee Jones <lee.jones@...aro.org>
To: Johan Hovold <johan@...nel.org>
Cc: Tony Lindgren <tony@...mide.com>, linux-omap@...r.kernel.org,
linux-kernel@...r.kernel.org, stable <stable@...r.kernel.org>,
Peter Ujfalusi <peter.ujfalusi@...com>
Subject: Re: [PATCH 1/2] mfd: twl4030-audio: fix sibling-node lookup
On Sat, 11 Nov 2017, Johan Hovold wrote:
> A helper purported to look up a child node based on its name was using
> the wrong of-helper and ended up prematurely freeing the parent of-node
> while leaking any matching node.
>
> To make things worse, any matching node would not even necessarily be a
> child node as the whole device tree was searched depth-first starting at
> the parent.
>
> Fixes: 019a7e6b7b31 ("mfd: twl4030-audio: Add DT support")
> Cc: stable <stable@...r.kernel.org> # 3.7
> Cc: Peter Ujfalusi <peter.ujfalusi@...com>
> ---
> drivers/mfd/twl4030-audio.c | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
Applied, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists