Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1887089rwn; Fri, 9 Sep 2022 05:43:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR7/LxypJ/LNS+XgIIh2S2p27SOFOJEXAfxdRjy2NnnU4Jc2SebDLQyvHYt3FtaZRuutCj6b X-Received: by 2002:a05:6512:903:b0:494:8355:baef with SMTP id e3-20020a056512090300b004948355baefmr4175522lft.180.1662727421566; Fri, 09 Sep 2022 05:43:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662727421; cv=none; d=google.com; s=arc-20160816; b=u/l1VbTLL77QtXnEVemB9qG9OpHv5DbsrHKVba7eL2Yz6jez2cF+d81ZJUNwMW6qYP Ic0oK3oYhfiamZefl0mNzfQMf7BbcXXIOWoI2iQWM8rLoQarPYhd6+x56dzAHaeSEb2J AtpmkBnqknXYBtHtHCeBfzUT2s9/cHphfVuNLT0ZQGyJPEo3TCySLC1yyPbQo39T9Ma4 7K28JaaSWAqlZDAc4Wkq/0xP7DCbL1pfV9vFPabpvYkZN/DntEQEQWfO90viBpmKcmTf BHkD5bWGyR3ojfInGMI0qEtSBjSr/UZDi1d8dzVTyg836bAjg1/7FiKk3CyRVstYkeb1 HgTw== 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=LGpZi8gheOoNxqra15JxFYza7mupiaTVq1bOekOVV/Y=; b=EBMHkaTEphUEKXoCWmHrbFpDJJWScL705FR3E0qKiC06uJIAKSvMfCE1bi/C+UKqmu U9N1Ej5HY4c7B6Jwhz2s7UzK95rk1TLsGXKsbipuIRhTI12uup/jl1mK5nT4ESlsO9di Y0APZPu7WAaHEnyUVm4o7yaBwDnzmv926YyyB4CRhlELyYZj5c6jxrwVSpI1M/jxOzex v7p7bKbFA2qCly0wtpKhZSKazWoqswoASQO6YHPKlDfjHvdAq3s7PsX0ZH08SD8HZ9a6 CLPbBmLL1FH9AxTWTsd/o5jDPxBhtkz04lMATul6Yg+5L6ZoQ3uL2ZXJBZ4YDHXnm2vB 1eEg== 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 u7-20020a05651220c700b00498ee5f48e0si202834lfr.238.2022.09.09.05.43.11; Fri, 09 Sep 2022 05:43:41 -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 S230249AbiIIMLu (ORCPT + 99 others); Fri, 9 Sep 2022 08:11:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230100AbiIIMKq (ORCPT ); Fri, 9 Sep 2022 08:10:46 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74AEC12E19D for ; Fri, 9 Sep 2022 05:10:16 -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 4MPFDk5w18z4xcR; Fri, 9 Sep 2022 22:10:14 +1000 (AEST) From: Michael Ellerman To: paulus@samba.org, Liang He , christophe.leroy@csgroup.eu, benh@kernel.crashing.org, mpe@ellerman.id.au Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <20220618024930.4056825-1-windhl@126.com> References: <20220618024930.4056825-1-windhl@126.com> Subject: Re: [PATCH] powerpc: 8xx: Fix refcount leak bug in tqm8xx_setup Message-Id: <166272522623.2076816.13575618880147514212.b4-ty@ellerman.id.au> Date: Fri, 09 Sep 2022 22:07:06 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 10:49:30 +0800, Liang He wrote: > In init_ioports(), of_find_node_by_name() 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: 8xx: Fix refcount leak bug in tqm8xx_setup https://git.kernel.org/powerpc/c/edc17890ae8ee475b566079bea2e9ba83fec021d cheers