Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1889036rwn; Fri, 9 Sep 2022 05:45:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR48S8L8tMGWyxDoKuDe6DL+HUuVKUhx8Ur7tDZUtK5rZ6VFrwuuLyazO1iOofqwwjkzCSbV X-Received: by 2002:a05:6512:261b:b0:492:cd8a:e1c with SMTP id bt27-20020a056512261b00b00492cd8a0e1cmr4170501lfb.528.1662727540889; Fri, 09 Sep 2022 05:45:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662727540; cv=none; d=google.com; s=arc-20160816; b=zcOKyY3L2WWzu2fH+ceS0xSJVYrIPZw5D3G4w0+omcqclSo0Xmd9nehm5jAqSDLB0u /nCIb0djmkZHX8fORcGTqrgQFMgN/FX9pDspT9NTwBVizHVfNYee2mSIb2Qseu8EzEGg q0EdAaz3YUX5D2XLsgKftw27NlFu1cADlTNYuHqJkRNl50esUEksij2kU8pcTDq1UfgT AN4o1HG4aJwPPCSFbc21dIjeS9ebjhtBum7hccmmFYWPG3RHdfGRa7CZ29OLNnP9Z8IO x1nkqVC3M3apwActuvVXpwf6QlEBtQCUjirDuBz3yTM5OqF9TURjgRUmkOPzVRQ7NSxl IeDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=gEGq/csbHT2ngb7j883DEIVZOhdIJ2tYwIaBlpmeb5w=; b=ku3ZBPF/OCPXsEyGzE7jNEQe2jKVAhyYAnV2ToMyNFT/eRZQTBBMq4mB+DbGNstPHy wEpQXtKIa/T1l4+C+t1bjclep4NM/HVJKzpdLzCWjzsGyB2Bl5ChP4hcJrQhCGXgpvRt GB8akMEFp9NUlj7rplSqICv6zkCqGI6p5HWoHEDlxvG+SAF8ky9Z+l6t3flF9+jfklQZ JuVi98sK5fgT3bF6+9j9kGHeDe2CEe+NX37hxp3QaxgjXvU6G0NhvjNMZzoD1THr4qAL DLjVX2LUZNtXjF3E2XerBzzXysxeyfMG6DON4qHoxPdy2RZVOW59WC2MpP8/4aXoHQKk bnAA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f41-20020a0565123b2900b0048135357b40si216456lfv.557.2022.09.09.05.45.11; Fri, 09 Sep 2022 05:45:40 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231616AbiIIMMM (ORCPT + 99 others); Fri, 9 Sep 2022 08:12:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231370AbiIIMK6 (ORCPT ); Fri, 9 Sep 2022 08:10:58 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96616138E66 for ; Fri, 9 Sep 2022 05:10:28 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4MPFDy0wCbz4xsm; Fri, 9 Sep 2022 22:10:26 +1000 (AEST) From: Michael Ellerman To: paulus@samba.org, christophe.leroy@csgroup.eu, Liang He , npiggin@gmail.com, maz@kernel.org, benh@kernel.crashing.org, mpe@ellerman.id.au Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <20220618041042.4058066-1-windhl@126.com> References: <20220618041042.4058066-1-windhl@126.com> Subject: Re: [PATCH v2] powerpc: embedded6xx: Fix refcount leak bugs Message-Id: <166272522746.2076816.8160630951736110654.b4-ty@ellerman.id.au> Date: Fri, 09 Sep 2022 22:07:07 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 18 Jun 2022 12:10:42 +0800, Liang He wrote: > In xx_init_xx(), of_find_node_by_type() will return a node pointer > with refcount incremented. We should use of_node_put() when it is > not used anymore. > > Applied to powerpc/next. [1/1] powerpc: embedded6xx: Fix refcount leak bugs https://git.kernel.org/powerpc/c/6b2d17d514b105ecf486bdf011c444978e633085 cheers