Re: [PATCH 4.4 08/16] serial/sunsu: add missing of_node_put()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 06 May 2020, Greg Kroah-Hartman wrote:

> On Thu, Apr 23, 2020 at 09:40:06PM +0100, Lee Jones wrote:
> > From: Yangtao Li <tiny.windzz@xxxxxxxxx>
> > 
> > [ Upstream commit 20d8e8611eb0596047fd4389be7a7203a883b9bf ]
> > 
> > of_find_node_by_path() acquires a reference to the node
> > returned by it and that reference needs to be dropped by its caller.
> > This place is not doing this, so fix it.
> > 
> > Signed-off-by: Yangtao Li <tiny.windzz@xxxxxxxxx>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> > Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
> > ---
> >  drivers/tty/serial/sunsu.c | 20 +++++++++++++++-----
> >  1 file changed, 15 insertions(+), 5 deletions(-)
> 
> What about 4.9.y, 4.14.y, and 4.19.y for this?

Yes, according to my results file, it should have been applied:

  stable/results/vendor-sony-xperia-aosp-LA.UM.7.1.r1-phase-2.txt
    20d8e8611eb0 stable-linux-4.4.y stable-linux-4.9.y \
                 stable-linux-4.14.y stable-linux-4.19.y

I can't think why it was dropped.  Perhaps it didn't apply, although I
usually fight to get them applied if at all possible.

Are you able to apply it?

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux