Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp161441iog; Fri, 17 Jun 2022 00:44:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sHtz1dIvryFfJhJFP8PeKeeQ1TBqFet5KBi28aXr/lrYZKJAjLYD4EdWT4Piaq+BKQ8Wgr X-Received: by 2002:a05:6402:2405:b0:431:6ef1:e2a with SMTP id t5-20020a056402240500b004316ef10e2amr10860568eda.26.1655451852942; Fri, 17 Jun 2022 00:44:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655451852; cv=none; d=google.com; s=arc-20160816; b=fOC+WeeTHUZHj1/brtO+3rTprWjTXInft4SC7s3Z/eq8ThzY5Lg1uEvHmxOn4EIU7G PxI7z8YnBUsgX7+snfsrPZq7Y74CI0JECVLbfoEqNcj1K++vCEsFvB711S6iba+rftlQ DKUUIc3nFSeX83uNmAtgw8dRNwCgkw21z55YoyF5e3C98YL+mPO2ETrF4cBPHAcoHiYF gbFaMe4NJ4mQe7Sx4laHXAGnc4eh3pBxR95I2Mcmy+yCtxlVBPy8FefiNrQF25CpKA8L XsVsIJqzOqqT4QbMtgegOLGobiL12cM9npkYGd5pYAeqf3aqLGZKJKgN3ymD4dwFm9VW txXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=W9q7AXd0Qaxwv987HFqmNAkUzpsiA8kM9zMagLE8i/Q=; b=FiHyqypH6m/Zg9HuaNBDTfAX+SR1zG2DmBiOYuqhC0TM+zlO0tuU9tzSWm7SCnKU3p Ok3EuONiwJVV5jcQ7uc3nuNAsOBx9dF2WxAXDr9OHLxxASrmTwj4aHt+FoI0PWWCX1FQ O3kHjIcmfxPXQHjlsi1GAwI8+mAztDnLtb2Ic1ryLAYIEYnu9Br0y+4+xsnwCDtjplvi vVmzXmWk7jrsZGlhPibIpDvMUA7ntUwwO0jTt24snqjp2ds3ifIa4DJho/v4NDobsstT YYXcgWqBwk0ju/GQWHMUCGx9oGge+Ey9d+cg65/pbFEAVm2r+MDot0DgF9OGyJ/YhBR1 vzyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@126.com header.s=s110527 header.b=UYdKUjjw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=126.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd10-20020a1709076e0a00b007121b9fc6fbsi4060736ejc.956.2022.06.17.00.43.45; Fri, 17 Jun 2022 00:44:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@126.com header.s=s110527 header.b=UYdKUjjw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=126.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380343AbiFQGqp (ORCPT + 99 others); Fri, 17 Jun 2022 02:46:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379857AbiFQGqp (ORCPT ); Fri, 17 Jun 2022 02:46:45 -0400 Received: from m1550.mail.126.com (m1550.mail.126.com [220.181.15.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E737E26AF8 for ; Thu, 16 Jun 2022 23:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=H+PIK gm+7cua7FtOe0VnZWnrrT7/N8p7fWrn1ErcRJY=; b=UYdKUjjwbyttw5xEBp4iS Th8JnGbh8AgbprVit/Noy03ggVeAqO86j9S06ouBX3ETuzBmZK3FsTNOvcem/BhH abead07jrA/dYMKg267zQhNEgOY2Yms94FZQO9209QCoBmoZP51veSn6fRUl3f9y xEBkRfWsZwMS1hVbbWoYHw= Received: from windhl$126.com ( [124.16.139.61] ) by ajax-webmail-wmsvr50 (Coremail) ; Fri, 17 Jun 2022 14:45:33 +0800 (CST) X-Originating-IP: [124.16.139.61] Date: Fri, 17 Jun 2022 14:45:33 +0800 (CST) From: "Liang He" To: "Christophe Leroy" Cc: "oss@buserror.net" , "mpe@ellerman.id.au" , "benh@kernel.crashing.org" , "paulus@samba.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" Subject: Re:Re: [PATCH v4] powerpc:85xx: Add missing of_node_put() in sgy_cst1000 X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.13 build 20220113(9671e152) Copyright (c) 2002-2022 www.mailtech.cn 126com In-Reply-To: References: <20220617060827.4004795-1-windhl@126.com> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <16f9a971.44e5.1817068ee3c.Coremail.windhl@126.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: MsqowAAnffEPI6xi0V44AA--.56078W X-CM-SenderInfo: hzlqvxbo6rjloofrz/xtbBGgojF1-HZUQUuAACsz X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssass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