Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2499145imm; Mon, 24 Sep 2018 05:30:59 -0700 (PDT) X-Google-Smtp-Source: ACcGV61ej9arPJQ1su0yrBb/CtqPjfFy+RXXQU6BvKKuc2yeCVrdUjCITT+D1ousjGN6Gn1HmstN X-Received: by 2002:a17:902:543:: with SMTP id 61-v6mr10693101plf.126.1537792258991; Mon, 24 Sep 2018 05:30:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537792258; cv=none; d=google.com; s=arc-20160816; b=sHJrklQYmCac2TanRsoL5PwkJUagAse3ZFaxl092Wi8zQT2+25L7uHW1Z97XZZuKmG FQCZ3G3AlZttf1uAaDCpm/HpmtXaJPUrPavFJ8R067f6KSMSaBpe/lUyW8abl9YEPMPI xPC68cvJfTYh6UxEu1dBv/uwlHcWmf3H7YjpNrW5ZwkGJLAbVpLP6Z1KB34Rsm76Ln86 G/nnD1O0nJbnxodRbhnN8zIFk4SuKHF93bNufjeooBEspBJF6yPKCZeirDWP2euK85um Pgn/liItcfi1Nuvb0NfivNoNRWxJyL5+JYlLSSEmnIZ78U6Sd3V1btPwXZ7MpjAi6m0l OWCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=Ua6UFi5+3uTguPbrkR/k9hDNe37CUBI9L0YaAR9U648=; b=KNujjU0gCQRYQcCR++NcKg3to+dRB9ICkSgSXi5Zcigsce9lFax4gt7brOJtMVcRON vuRBWLdiric7f896lsr3i00LqN76DTHJ6ogfQ52NezZ1B8A1+BJG5qKdcynBbhmn93Zu XDXyHYuYav4LSruLjb5bzRXts4cVP5+9rNy9XY8ceappMnDwkM0fh0GRU0ji1JDigaCs Eyz+87CeWQ20Gh00RcN9HJ4W5t8VxGUTqV1dYWdXZlB0D1Mt2SkNYZF19KwqJZ6Xf0gb +DGkCUTntER2i5Rg9AbnnFr+YG9CBeCsqchn/gy2yrdpxtVyaMOQN/8WoReOPz7mrwOh W3bA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m21-v6si38025132pgd.48.2018.09.24.05.30.43; Mon, 24 Sep 2018 05:30:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387501AbeIXSaJ (ORCPT + 99 others); Mon, 24 Sep 2018 14:30:09 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:57414 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730233AbeIXSaI (ORCPT ); Mon, 24 Sep 2018 14:30:08 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 6876D1094; Mon, 24 Sep 2018 12:28:14 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nicholas Mc Guire , Stephen Boyd , Sasha Levin Subject: [PATCH 4.18 029/235] clk: imx6sll: fix missing of_node_put() Date: Mon, 24 Sep 2018 13:50:15 +0200 Message-Id: <20180924113107.719892989@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180924113103.999624566@linuxfoundation.org> References: <20180924113103.999624566@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Nicholas Mc Guire [ Upstream commit 7f5eac5934d747535f9ffc997792a0a6eb289374 ] of_find_compatible_node() is returning a device node with refcount incremented and must be explicitly decremented after the last use which is right after the us in of_iomap() here. Signed-off-by: Nicholas Mc Guire Fixes: 4a5f720b6542 ("clk: imx: add clock driver for imx6sll") Signed-off-by: Stephen Boyd Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/clk/imx/clk-imx6sll.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/clk/imx/clk-imx6sll.c +++ b/drivers/clk/imx/clk-imx6sll.c @@ -92,6 +92,7 @@ static void __init imx6sll_clocks_init(s np = of_find_compatible_node(NULL, NULL, "fsl,imx6sll-anatop"); base = of_iomap(np, 0); + of_node_put(np); WARN_ON(!base); /* Do not bypass PLLs initially */