From patchwork Fri Jul 1 09:41:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9209631 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 70F91607D8 for ; Fri, 1 Jul 2016 09:51:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6245428529 for ; Fri, 1 Jul 2016 09:51:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 569302867A; Fri, 1 Jul 2016 09:51:42 +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=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3D8FF28529 for ; Fri, 1 Jul 2016 09:51:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bIv5N-00036f-FW; Fri, 01 Jul 2016 09:50:09 +0000 Received: from mail-sn1nam01on0069.outbound.protection.outlook.com ([104.47.32.69] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bIv4s-00029j-Bj for linux-arm-kernel@lists.infradead.org; Fri, 01 Jul 2016 09:49:39 +0000 Received: from BN3PR0301CA0072.namprd03.prod.outlook.com (10.160.152.168) by CY1PR0301MB0860.namprd03.prod.outlook.com (10.160.163.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.528.16; Fri, 1 Jul 2016 09:49:16 +0000 Received: from BL2FFO11FD022.protection.gbl (2a01:111:f400:7c09::198) by BN3PR0301CA0072.outlook.office365.com (2a01:111:e400:401e::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.528.16 via Frontend Transport; Fri, 1 Jul 2016 09:49:16 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD022.mail.protection.outlook.com (10.173.161.101) with Microsoft SMTP Server (TLS) id 15.1.534.7 via Frontend Transport; Fri, 1 Jul 2016 09:49:16 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u619mwoU013455; Fri, 1 Jul 2016 02:49:13 -0700 From: Peter Chen To: , , , , Subject: [PATCH 5/7] bus: vexpress-config: add missing of_node_put after calling of_parse_phandle Date: Fri, 1 Jul 2016 17:41:59 +0800 Message-ID: <1467366121-14120-6-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1467366121-14120-1-git-send-email-peter.chen@nxp.com> References: <1467366121-14120-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131118401562892285; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(3190300001)(339900001)(189002)(199003)(86362001)(7846002)(4326007)(356003)(2201001)(189998001)(48376002)(305945005)(2906002)(77096005)(8676002)(81166006)(8936002)(8666005)(81156014)(92566002)(11100500001)(2950100001)(47776003)(5001770100001)(97736004)(19580405001)(106466001)(33646002)(104016004)(85426001)(586003)(50986999)(76176999)(69596002)(19580395003)(105606002)(68736007)(50226002)(50466002)(6806005)(5003940100001)(229853001)(36756003)(87936001)(7059030)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0860; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD022; 1:cCEmPYBFycIbuDI1T3hJrSWIONqrEuXpR8F64gLdKaG2bUi3FCCTtt4xd0wlxr4jleliqyMNyv9tYgZ4al1w53M6G6I3PIXRkxzVScDWy9Efhoav3X8+zKnplshidQjZ0joWRe/7iEwEe4Qx7uUYxc9zpr91MYsfcNAFx6lIkFXXcLbwpoc3sjTQEwVEPbsv6coY0tsqCZwQXsdWd9CKIPwBEdkPnl9/zpKPo3EKa543wZddrvTzQD+kfH7qihOI7pfGiNBDn4QE32JZW0xnPmnbKZVr8xxLhBmeGW+KRoGT1toP9+pDyqnICi7wUwSRbNf0FwZz8PH8OMJTg08EzO8O4jEptDQC6JXWlCqPtih46ngvYK/J76ceOts8sWFs0ireeLVjdaay1nrrJamonDxjAM/I5bMk/U60Oda+bn5tMGJxWASDZHvV7YQgbFjhgwzUXZm4pclnioTBkW2KYA2Qe5l0p2XxRmU6G3opD7tNhxLo8bGcqlzEFHV6mSjZ4VBKCFGoVelOLjzGYcTwS6VDoHSBvOWoWviWmmWriq2f6y0UV3+H483DdVScoXdMebq8f1yvJwi7uUz1e8zFwU+X0fBw0aS6Fvq/v/xVMD39dAUIWFh78DldVrz/HqwxcfGJGJIkpGaO8JC0jP0IfNGXjJIwHm/HHKHornzg7BQ= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 2b995024-211a-4b89-f69c-08d3a194f720 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0860; 2:yYQK0rz5QDSelxSNDgRilUlPXJEmx7p8k3KlANJ5HxDFcWrYx2gzY85KHI2PrgS+yGhOnKneN8FCKraU24vb7ncXLmhcnAxXAL+TTMae3P7qZfN0xxNUmHESLcMdKEMY2rHjwUzTgst+2XmczQCWxA4dSrbHPKCYmuwZ6LE64yfiErWEZmk4Cw2OZarFw1ET; 3:0S1b2aH9UEtXQ+MrsJe3s+l00MU3Wgdtxw2Ii5b7CZXj07Y4Ui/3NLYySFYHMqn8jvOlp62LObUkSmQxbhyD0oktgG0n4KVCfjOKJwkwJbPEIP21FuTaN2SA4zFrV5abq3orVb/iygItDyUFT0OgbdMkd7iEmPDuYXg0wbM4dnfsqK4qG5Wx1X8S5y/rypNAzSEEExlcPHwxsrHaXwQH8Ka6j1SvQv1+PRkugfpugwg=; 25:CulHXerfTQxhn8gZedysEOh24kF/o8S9+DvzijNm8eksh4spUNi1DZZTUs9MRKIRgh6dfBZPK6zXulqeG5tys8QIPezdZafWLjWrbmhislGJlmcLu3T8tyfMDaU6Y60d7log7OlC5vW2WxkqduGR5eaIS0fRscMyR8WFOUdNEy1m35M9PiFj/nuGK8FfLZrpIwBgiv0t5xasJoRKq0SsR9WgEtDyBaJfR8CepF5719ONS36C1z1AJdaiYhDxB5nMDTzpYq4ob6C2AR4JWQ+dPlSTxha/UyeHquiCLkThb+VXsVwor4dhN1neGSCB+anVBxhOyFWdUcSrSJq9oxzZTEe5F/s+ihWIofIizscA6HpCR/GaCRRMzle2fltu3eM5pNtHje1T1+rwhWFdRG7Ab21sYKaEtNeQQwJYezlCHd4= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB0860; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0860; 31:HTMQNiNBh5cK+gb5pDl0Gnc1HsymrCqrJ1p1nhmBWro7UhpIchUyyXyIYbEtDNJwk+KLiCKMhB3c6Xa+wOBnoK8kMh4dqnL3UlSLAoB6WMuE5BgUV3Q4pCu7p2vVg1nkAUUk+YRs/M9dFmorwcaa9wOVWJCUlTw0wYHFnruYV5cmlhyn07Q98Hw1JzBwKzmqm+yvAVoskD+68O3kmUVm3w==; 4:1f1hHX3e2eVqHZpTgkOKm0a32dM1Z3+2cPZdGoGZtPZDjZDUoQbgdmPR44/ayF4/HJMUG/h0Wb1LgYATjzfx9Aq0BZVXcdT1rJN+A9Ht1sBV5EDvKGpBJD2fpApG6/d2ptYmTb6ND8GM7PjyMrPh2J/MlcgSIcgVRYE9x+ZUZKWPryeA+1J5IT3WFoVLwWlIyCNrnnj6jZudDrTxti3YtUi8uDfBl7JpmHsJj7vqzALBPq+4/4cE9p+XEgclDoVzFSQaAsaGLnNmhrMlvbS1T6GquT6YdOFkTxpjdlntuI+WmawCNqxT9nxVBBuBfhX6P0c0a2PdQCLNrkad9iTdOQjQoK1CmSZevWRBJTvspHtmSh9GnzedYqEH1425BVWgBT3wRuJrXcX2Ew7UdeZAU7aOtiGfZNsoHxQQpIYQXQ6m8aRvzTw6IVv348PXS7VNdHnZmmFqJLroBU3en7vNiVvYVj0HnkDSQR181LsYFD7C8bZ960oaoyXkFzU8EZnK01sadUBOc/DgWIch/WovnLTrpPO06iKmlw7D4uruciimm+494OcTM6n2OQ1ls/y6 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13018025)(13024025)(13023025)(13017025)(8121501046)(13015025)(5005006)(3002001)(10201501046)(6055026); SRVR:CY1PR0301MB0860; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB0860; X-Forefront-PRVS: 0990C54589 X-Microsoft-Exchange-Diagnostics: =?us-ascii?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1Bhm+w341N9GvH8dhrGJZH0=; 7:CuFQGnlXp6RgO8NVf2Ydz2b8k3PNH2XJdpfG5cMPPCT3AcJB7QgCqGc/mwzVe29iEvzDvIKdSf0HDJGhme4GCpMKRxNZVOtcq+fXZDdX8MkstOcjpiZC+bFbtGhlqxia6e79TYR/e7I+mO+NEonFs+EHR/1s8j7N7eXNZNaAdVteH/3TeQLe3CsLGBwtGnx4mlJjAN1OSWmIKYfpcK50eLWLPBDg15v6rXFSuuZALHGtQlo8NNK/8vaqsvBuGkyS SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2016 09:49:16.0708 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0860 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160701_024938_541143_B1DB5A9B X-CRM114-Status: UNSURE ( 8.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Chen , Lorenzo Pieralisi , Liviu Dudau , Sudeep Holla Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: Liviu Dudau Cc: Sudeep Holla Cc: Lorenzo Pieralisi Signed-off-by: Peter Chen Acked-by: Liviu Dudau --- drivers/bus/vexpress-config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bus/vexpress-config.c b/drivers/bus/vexpress-config.c index c3cb76b..9efdf1d 100644 --- a/drivers/bus/vexpress-config.c +++ b/drivers/bus/vexpress-config.c @@ -178,6 +178,7 @@ static int vexpress_config_populate(struct device_node *node) parent = class_find_device(vexpress_config_class, NULL, bridge, vexpress_config_node_match); + of_node_put(bridge); if (WARN_ON(!parent)) return -ENODEV;