From patchwork Mon Jul 4 07:07:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9213315 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 4CEEA60467 for ; Tue, 5 Jul 2016 00:41:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3D50D287EE for ; Tue, 5 Jul 2016 00:41:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3150A287F0; Tue, 5 Jul 2016 00:41:25 +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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA09D287EE for ; Tue, 5 Jul 2016 00:41:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A8DD16E554; Tue, 5 Jul 2016 00:41:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0067.outbound.protection.outlook.com [104.47.41.67]) by gabe.freedesktop.org (Postfix) with ESMTPS id 331C26E3CE for ; Mon, 4 Jul 2016 08:47:07 +0000 (UTC) Received: from BY2PR03CA063.namprd03.prod.outlook.com (10.141.249.36) by BY2PR03MB587.namprd03.prod.outlook.com (10.141.144.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.528.16; Mon, 4 Jul 2016 07:14:40 +0000 Received: from BY2FFO11FD033.protection.gbl (2a01:111:f400:7c0c::129) by BY2PR03CA063.outlook.office365.com (2a01:111:e400:2c5d::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12 via Frontend Transport; Mon, 4 Jul 2016 07:14:39 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; 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 BY2FFO11FD033.mail.protection.outlook.com (10.1.14.218) with Microsoft SMTP Server (TLS) id 15.1.523.9 via Frontend Transport; Mon, 4 Jul 2016 07:14:39 +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 u647EZSA023100; Mon, 4 Jul 2016 00:14:36 -0700 From: Peter Chen To: , Subject: [PATCH 1/1] gpu: drm: arcpgu_drv: add missing of_node_put after calling of_parse_phandle Date: Mon, 4 Jul 2016 15:07:28 +0800 Message-ID: <1467616048-3407-1-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131120900794994150; (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)(339900001)(199003)(189002)(86362001)(8666005)(36756003)(2906002)(47776003)(48376002)(87936001)(106466001)(7846002)(105606002)(229853001)(305945005)(50466002)(77096005)(19580395003)(68736007)(92566002)(85426001)(4326007)(69596002)(356003)(97736004)(5001770100001)(5003940100001)(8936002)(11100500001)(50226002)(6806005)(81166006)(81156014)(8676002)(586003)(50986999)(104016004)(33646002)(189998001)(19580405001)(7059030)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB587; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD033; 1:y55sW8NehWIPee6smTQje8tg7JeZqGjXzfrII/HrWVuJ+ykHhfW8MpeQOOAtbt6e1ZLOu20tNIhTX/ppm4uZlqrHnYXL4oGGOBYM+5FBusNHmD3t6EXEl1rCDS9EuqJC59IBXPWYm3niZ3cwKxrZTVeUWJNqt+3JpjYOFZIYkvxxcHeNSxr+zchgAo6rrJOYcZV/+AbIucjAh4Nl53rhEDuomx7Q5Ob746SG+ItlhzcZoEmYvINK5r/h4mHyTFa8iEtFNKf9zIkdP6UcZxgJq+7o8UV+uUbdUXy8yGzeHzojcuIRsZQ6CRE80qK+e73hBGsU66U53cX+bSztaYQVYRX368fEx81TwHnNgVNXArNQ+KrCzMh2NvQACmJq69dBGVDSNHxYW/TxjfHRlsCbsVcqutokCx2ZN6AhxOfIteqkC4F5cuo4XeB8IKc4X7kwQ5wa/8cXiFwAzVjuB2JONGUJNbHCVSqv49M5QCmgCX+wzAJsU2lTdfRC+ZQwwhslLeD8TDzY4yUfG8YdsONu3v28K9/N9OI/00lvoQYl+pQ1vKcq2+rPBUIBJF/g6uICps3wY7rs64iHh00CjGG5+k5gk7A7/FmKpsy6SmwLjrgKsGStruSEpJbRvG6vR9/UV1xylrbAXAORcbhx57EaDVlojTrvvt0ay8ZVH0p6asPr4uGMdtm1b+gfWTFyRZdOsEVbkKSjlUZKt1q6HmpsRMW2oH9aQ2KLon7m2i9R7ZQ= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 8894af50-40ad-4132-6c84-08d3a3dadcf8 X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB587; 2:HLvzMXvW2FxSFkoNrQintRTj6Q5v79IdQ75nJrJQ9/qk5EQ5jD6rvS6GAv+l+R01JbOazh2pCE/vXGAvUH2qQBrnrA8yR7HvXGUPLvvYbn+1EhCLWpcL6HwTBWclap8OPAZoSGzzRaKBA0s4eHbz4k+hcDtpKJeDmOQRemCwXANJ3Gzi50Lgs8lJma2yIM1b; 3:zqY4hb1bfiuPkfNMvMx6mbBF2Xx+0zMowPyf3xpOrdiZmyA0/H+Sg9n8AQ8dxP1vM4iEn7COkgHV3uxUg2JW+BgcV4XxfZWvPjPqTnkSa3U8+khHaapBtmhC7w5Gt4dZrSxoOqWp2fgx/0ekUnt/n+GrLMuFnhBdHSOL48LWcHa1gegYUcpxnWId/cARi9NJKYy9yobRZn/RmU85m6aQIZkz0YL3+x6vr346XcSvQYc= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB587; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB587; 25:7aYUYs1WKd8E7u0QvPZ4sNB9mV7jDfOMdSziFvVqBpcQUmjEfffNZxuQ3zqXLc95eXDrI3Br6zPdxCHmpgnqyBc/0hjvlnfpNXxXt1PkRBCqEFgMyas+GLajwb8/lyOcuzwdpkujwUFCF80ZLPDtxbOszHzuAeXdfmCGWmOnabz4uDAcEn1+sShNTvDA1pBorXFBW/gpm04Wa4IBzuuHi1pzMGdTJSr1xInW8lYtV3gCwGAjrakdQ9qKNlbKRNrjd84FG3wa+7Dm8P7pUI674IIayFUeDqJ/4Q/eB5rT3SkqYCK+muYicqykEiid5Hi3y1oHKA8TtAWw8oijQwWaTf6yZ1myGvbJ5dZWpMY93wXca/2X6IF7UJYPWzkRDaBw65G/QR+9Xcm8Ocq6A2WSomAAjgncliHCuF/9d9wA14irL0oe1zBp/88z+PoyaUW0u2rd2MfJhJHyaIccNzGFj/PMg69xfK0wl3N7SD/lrp66nsP34MAXnpg7wn6dQOYty5yi8vS4eDReDehu+nosHWDd3b46DkFOhX/iEv1xj6i7/q/SIWXfOGDdofF7e/DdoNFOgtbyeZUSSrQqkKOpUHGxIHJwFymzizwnZaDM0BpMxfGICeLgFJ3/8vHHvEobFB8C965C7vqeSlNPYpLneHK3sraiIAPt9p6ypVk2WO6DOUZnD7gKHdcxLPEEaYMLPGBlFBy5QBejaqGEvAG50A==; 31:2taBzMSatEy6EEY5a/irs0hUrAX3KkDWXC29E6MxNmegLka241fNZJlpvE8nDIo/uhOd9ya7I7/XmYIhjO6oVU5nzZ8zserG53cynWvShwHvmU6eSJMZUL01P5nuIqEEIW2J/KmKERsZtNsChzs2Zl/Gl5VjdJ+bTyBwKeHVWc1HjGvx/UFbWmv8QUN5DZMtu4fQibdBepG1V9t3M7pD0Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13024025)(13023025)(13017025)(13015025)(13018025)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:BY2PR03MB587; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR03MB587; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB587; 4:JsgysNV+aV27qI6GCyM3lk8Ie5tfAb/nHkFo50lpYUdB36E/79S+LOMHHOqPJpmd1/UWS9CM0JBG0AfypLizqPLaVGBOvIOERhygAnhEog4nHLqKnXV7oLm8COIrO5USuJin4U0JtBMBHUALdsSvBeTGh4u11CpVDfTKfn3fwFTiPBK7ftXRB3/jql2Dy9rc9vFPb+l/DWGYaRuGViDLw1zOGuo+Z5y6bquTWGQriQ78i+JWBi90iApYj4nUPi6RMDGeQsdpJlIuOw85jM/9Ykc1efrrMPj75ycDAxgrpq1nOacRI9I2h/j0Rgd1qSbdIJuz9I5/JOhJdJuwlKKT6SDnu7gSqMho7/QpUo/yIjtOvLDLDq2gCuL64QRiif1EVsWzWyBdQONXKpOYH9AmlQf6Mts85+HMitPh1jvSdAy7dD/p9GiHKt+NsRTU4I5/G0+GRs6m16Sl2loEB9XiNcf9JxdXNU4ajt37BR5KLyeKLp9HhwIYnsLAEQSxlxNgaKKGVtguTcaIR/EuXUndZQ== X-Forefront-PRVS: 0993689CD1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB587; 23:YK/LMYhbJs1zs8dwG9bq97eN/wMfh40PQNhWsn2Sjp?= =?us-ascii?Q?5Riz/z4Swq+MburbvZefw/WFRVTTBBaeHZ1MWUq56RclTp9aGwz69NgE7BYM?= =?us-ascii?Q?mEKbwtJPkrGGGfqfKh8y3MaE7PKOyCnqE/wy2rSMbIkpsq5qMxk/CcgfYJL+?= =?us-ascii?Q?ReiAxJzQjtBMioKD/VbbZrBXgB88s52AYh51gbu/BinaXSEbqkl14fWpLtCu?= =?us-ascii?Q?7u2y+Ut4ROvDQZsDO4crOCSkHip/7EIqBIIAmiBxtso0fzgu1ZbCdCty3FCJ?= =?us-ascii?Q?VZRl0EZXQbRh/KVymrbgJANLmW17ZPSTZ+rheXk3SSjbKfRfp81robTOqyQ0?= =?us-ascii?Q?k0y3bF9XTGsZui8nUODtE/2Vn3tySd3UgKAWLHMuv9U1ORBrp4LOX4LRFQzG?= =?us-ascii?Q?BgYcJkZcp0XZA+1F7Dcz0Px4M4XgPA21i7a/AwflJvIvtGfNHyxwU587tqaT?= =?us-ascii?Q?w8NsZ9gHdYVhkiM58jy1fj1w7krGjdsDL0gJvF6plSKm5ICMyebvKi/qTW2D?= =?us-ascii?Q?DvUKm4PCX7/qZ1c4uzb0eezMj6cmuTp44GY//AQTM2ZCbp3tFdJNRDwpCLL1?= =?us-ascii?Q?w31GvXDhA4bspsBApLw2Qv2mbGB6zVyh5jhZs/OKXzYTqYLzQWH0iufbyOAG?= =?us-ascii?Q?h5nfpsJDlzOcAnGzvEESw0ChR3N6nwSqk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IeocueUPayGe2zSGqMKqSjRGM=; 24:JD4wMxzeR5as9Uj6oTTNfDPQ5eyVFqgxiZMxxBMo8r5G2OWSsl8/gXkpciD0R27B3s27K1I0OQZ3jfU4NrRhTSmnQJsRyIO+PLYAvrVWNco=; 7:jXVIidAwPwuXAgbr4OqrP65jpnrnYKEQBCN79xPIByZ+FJwDR6YPc78gkojvtQbrtG+KMevTI4FLgMrLLHYXKnC5dRNGQze7LSHiT2eDBzCSL9k4i+aEK0BY7cwBpbtQoN6gjVHqZXKyae8xjRLT9waE4LrGMozy1sSSdx3sQRzJie3/StHteVFxFsjN2qyDAs8fV1YmKxqNIId0dAo2PclOhPYPO/84l5EPdpIEBo0+2LH44MnO5w8WbQ/vn9AT SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2016 07:14:39.3746 (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: BY2PR03MB587 X-Mailman-Approved-At: Tue, 05 Jul 2016 00:41:10 +0000 Cc: Peter Chen , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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. Signed-off-by: Peter Chen --- drivers/gpu/drm/arc/arcpgu_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/arc/arcpgu_drv.c b/drivers/gpu/drm/arc/arcpgu_drv.c index 76e187a..b2c3c3b 100644 --- a/drivers/gpu/drm/arc/arcpgu_drv.c +++ b/drivers/gpu/drm/arc/arcpgu_drv.c @@ -155,6 +155,7 @@ static int arcpgu_load(struct drm_device *drm) } ret = arcpgu_drm_hdmi_init(drm, encoder_node); + of_node_put(encoder_node); if (ret < 0) return ret;