From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E0D7C28CBC for ; Wed, 6 May 2020 08:23:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F0654206E6 for ; Wed, 6 May 2020 08:23:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588753385; bh=7fu/3TQKpRpgi2EDPCXEPyJx+GlgDFduW9zzFY9NNew=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=P/aKD+tfJko+86Hoiw7CPDc0rfgXW+J4GCGch0VBoxkl4gYXOh+Pjym74N1jrHZ5s 8BObAi1TUeo14Cv7wBQU4Lqab5cifYtwFBruW//lq7MnC1wOyUUI7l62CATRRaHBgU z5DL9cKnkKJC1N3AkU9q8AWa7gRBQNE5FnbqUYvA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728653AbgEFIXE (ORCPT ); Wed, 6 May 2020 04:23:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:57396 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728573AbgEFIXE (ORCPT ); Wed, 6 May 2020 04:23:04 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8676A206E6; Wed, 6 May 2020 08:23:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588753384; bh=7fu/3TQKpRpgi2EDPCXEPyJx+GlgDFduW9zzFY9NNew=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0bQm43DSAf6Rqo1TiYqaM9hY0UcrjPDyrFF1jTuKFKRehYHlNmIwhKp5HBbrXpjAe GGQTg1HLCzEEk4jVLOqA4/Gy4+BJaD6HMp39rwG2xs7tyxivUiXAsBtLJfhvgfrfp0 JS5L/BWsNjj7mbUlPHbeFtljzYGrspQ1ycH8ZxGY= Date: Wed, 6 May 2020 10:23:01 +0200 From: Greg Kroah-Hartman To: Lee Jones Cc: stable@vger.kernel.org, Yangtao Li Subject: Re: [PATCH 4.4 08/16] serial/sunsu: add missing of_node_put() Message-ID: <20200506082301.GA2492474@kroah.com> References: <20200423204014.784944-1-lee.jones@linaro.org> <20200423204014.784944-9-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200423204014.784944-9-lee.jones@linaro.org> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Thu, Apr 23, 2020 at 09:40:06PM +0100, Lee Jones wrote: > From: Yangtao Li > > [ 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 > Signed-off-by: Greg Kroah-Hartman > Signed-off-by: Lee Jones > --- > 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