Message ID | 20181120140607.20446-1-tiny.windzz@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2DE9214E2 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 20 Nov 2018 16:25:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1CD6B2A9A2 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 20 Nov 2018 16:25:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 10EE62A9DE; Tue, 20 Nov 2018 16:25:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F2AF22A9A2 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 20 Nov 2018 16:25:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=91q1Wr85YrarJDOUgkBtufN+QFNWJ7KMVUWV1mp3nh0=; b=DeG 9fTUxjD8AuBkrUMfuqDl4ewah38d4gBSO5KoWk+Y7B1RQWy64jUGr1QZx4mxfUuTiYdFBsXZh5f2s f9n2tb0eCIUPCUiZ2lqPyLmoDKk/LT2e/jUoI7iAmpGQCk6vB1hAFFlgufiqmNq4HH+a0Nulrdt1A KTyY/Ic3QLQ1B4LX/+ytLMy0xSYcORYrk2vMpACp/ZbXbjIa/ApuI4tHGIIFT8xUfGmltrZhaqjMs pxKT8NVZBPCY1HGOqRSSWObXgaASM4fFm/59ufsKaAPnk7+qE4a3CN6AKAGzoVEe2PptHuXXtUjWQ fcZyrAQqc6jD0j0mu9ZCthiPs1xoIUA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP8qG-0006Cp-5l; Tue, 20 Nov 2018 16:25:36 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP8ky-0001ws-HU for linux-arm-kernel@bombadil.infradead.org; Tue, 20 Nov 2018 16:20:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=x+CzQTh2nUlAR5aoA0UQeXtIkwuR4tfYukAQ6RQl2DQ=; b=VA0TUubsdJW3x3rtdFIgPgXid ocqAZEwXUwx0s4AuRrB75bNJD6RLejQG8FsacJzi4nhdBqGpJ/vaIkERsxjXjJuKEfDXRjzX1p+OT nVp2cqyikqwIx1MB1eklQXj3M4yFG3qymDwh8GmEAXo76Fm7+VRQ3ziUPNr+iAWJZN7Gotr9EQ1rA FjxhQeZBiT1sNmZyfZG3U4cUlz3gSd12Vw9Wk17K0dsirlYPyn7RWw/SX/uQC2hvPnhPiCMtf7y2e BLC/HxcwpCj1d36ovZqiuPGMHt2i3OkBj4dc5NYMV2adh3pU036aiTRIc6nulET6JFi8X32217krK 9lSUyVPcA==; Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP6gU-0007rP-OH for linux-arm-kernel@lists.infradead.org; Tue, 20 Nov 2018 14:07:24 +0000 Received: by mail-pl1-x641.google.com with SMTP id v1-v6so1063043plo.2 for <linux-arm-kernel@lists.infradead.org>; Tue, 20 Nov 2018 06:07:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=x+CzQTh2nUlAR5aoA0UQeXtIkwuR4tfYukAQ6RQl2DQ=; b=Kp5Lvw7w7++kHXCyrEvNBEjwO7LKyER2XEe1ccYTTfMgn2g9e5nl5JvpNjH58rdXQ4 07JUQSC4ktZWQctXH0VYL/xM1RTvg6ZpwFgnOSBlVONjp+QOiLMYLOjOP88rEiiylWTK la1X9AhnJnw4uf6auoZUz1iINI30LEjGcV/zv1T1JIjGwVloNHAt7lG7K9XUCra4z0rG YDmOUdiTL5AIw6IUTyat7vR4emwwrehnvVfBQoqrcXlfXPbsqDE6+aTz5L6FT2qjcXZO /PVj9FwA9V7PFre+OJf9vZlyKZWxeXJXJox21IO0R3Is7gVT5sLE2COvWeL63RGyNF88 QJ1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=x+CzQTh2nUlAR5aoA0UQeXtIkwuR4tfYukAQ6RQl2DQ=; b=OM8SNejGgqoMqekVyZrKuGuAGK99TnWxkpEPbfbmr0D3AoRD8/AYFuJxy1+CZRrLFi oKeFxZcOnPOwrgFaQAqnhukZv34j/29PeTMMQfxRYpVP4FmC0mEQwJXfxRdZxGgzfw+h fjhPgj0U2cDwAix7w5IuTX4UjKep8AowB6g6ovHD+Xlb1OCm/J4A9WOoUmyz7ngaOzDV hjnt/zBUA5DrCnsDdjQTYZAdZzsIbXFG7R1Y17lgB572qWW9ASNebGqM787hkwx7tyKl 2cffwmrhY3DD3BmgZ8ZH7hcAKKYa1S9ok+WFtUZ+9qDTq8a+96vSmaRnSSz5zBIMFOg4 pB5w== X-Gm-Message-State: AA+aEWYyljWaHovfYuJcZuWnZ2r914Bej5IuhSBENxTsq1canRE76kCC m3ZThZcqgQGZpRLEompvvbg= X-Google-Smtp-Source: AFSGD/UIjGT258ghFZxlE2FlN7vIyt5ypRYQjzdqUJgbsiMA/sr18EEEAAUfPSXd2CB9xcvjBxNB0Q== X-Received: by 2002:a17:902:3181:: with SMTP id x1mr2356331plb.58.1542722771243; Tue, 20 Nov 2018 06:06:11 -0800 (PST) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id v13sm4946189pff.20.2018.11.20.06.06.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Nov 2018 06:06:10 -0800 (PST) From: Yangtao Li <tiny.windzz@gmail.com> To: linux@armlinux.org.uk, julien.thierry@arm.com, akpm@linux-foundation.org, rppt@linux.vnet.ibm.com, mhocko@suse.com, palmer@sifive.com Subject: [PATCH] ARM: add of_node_put() Date: Tue, 20 Nov 2018 09:06:07 -0500 Message-Id: <20181120140607.20446-1-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181120_140722_853398_7934B288 X-CRM114-Status: GOOD ( 11.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Yangtao Li <tiny.windzz@gmail.com>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
ARM: add of_node_put()
|
expand
|
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 375b13f7e780..c20421f0078e 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c @@ -949,6 +949,7 @@ static int __init init_machine_late(void) &system_serial); if (ret) system_serial = NULL; + of_node_put(root); } if (!system_serial)
use of_node_put() to release the refcount. Signed-off-by: Yangtao Li <tiny.windzz@gmail.com> --- arch/arm/kernel/setup.c | 1 + 1 file changed, 1 insertion(+)