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 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?

greg k-h



[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