Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1869446rwn; Fri, 9 Sep 2022 05:26:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR6iEIsewEPsAKU+MJ0+MhTMSlX++urMtVdK3hdXUaMI23fuWAx5rpgCZxXzXovnmHNRKqaK X-Received: by 2002:a17:907:6090:b0:734:be0c:e2e7 with SMTP id ht16-20020a170907609000b00734be0ce2e7mr9827350ejc.408.1662726417589; Fri, 09 Sep 2022 05:26:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662726417; cv=none; d=google.com; s=arc-20160816; b=OOT1jk3vdLswAyeoZvVfCoiqKeMXJ9zxjcYs5hp1IcNE9fP6NTPTQQ4TaLOXIqT+I8 dmYIecYhSsFFq/ehkWodN0hCncyn1LVB30JX+ldVl9hVQIgEim1SPIgqoAaKyLgauFjy vyr8R4EDs1Ij/h6ORMA2X/VfcULj29r26bQg9cWtbB5t7ubabNpDfYIioxoHfWNZcL1U fTTM4r15+t0elO3FtCfhHnkgvn6Yn004LPop5srsKGevlzTXs1kGkksM5pumeNBxvINe 7ru7WtivOgqiBa2sEGmEmCUaUb6qGJd7fFFCMRn/6RkKkKVsclZnt1rIT/qdmrOTAvTH Pldw== 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=rLZarTrL15/Re1upwY0jASGek9B8RuCBg0ldmdZx1J8=; b=DNpmLz8fKBFxTHcSrWuZmCqZwbhNGjFfFMhTnat4bmxC9Fs0PtI+GbtP5a3DUm/Xf4 WVcuoe0vzQ8SU8kO3+9bLOGaZAJT62SjBnQEr6o3U2jfVpioCcgYZ2B2bv533PISOIt4 q914sa1vuXRcu59nFcP4+W/eKzzN7T9Z6f+xSrtavqV0qNFVSUdc1kF0wFotlLs8Vt5W HNYEZBFhnWcHVQkbYlkk3ODscBpiRmft5ldDASGx2l4uVX5IXMNqztDDn2+e2tOiwYCx I5j5TIxXaTBmMUzXpiwcnpwu1VMQix9vpsdnl0o/Z63i1OxLGI4sjhFcKlym7PfU1xL5 KW+A== 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 h5-20020a170906398500b0073317952891si271711eje.777.2022.09.09.05.26.31; Fri, 09 Sep 2022 05:26:57 -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 S229971AbiIIMLl (ORCPT + 99 others); Fri, 9 Sep 2022 08:11:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230161AbiIIMKp (ORCPT ); Fri, 9 Sep 2022 08:10:45 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2412812169F for ; Fri, 9 Sep 2022 05:10:13 -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 4MPFDg3xHxz4xG8; Fri, 9 Sep 2022 22:10:11 +1000 (AEST) From: Michael Ellerman To: paulus@samba.org, christophe.leroy@csgroup.eu, oss@buserror.net, Liang He , benh@kernel.crashing.org, mpe@ellerman.id.au Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <20220616132922.3987053-1-windhl@126.com> References: <20220616132922.3987053-1-windhl@126.com> Subject: Re: [PATCH] arch: powerpc: platforms: 85xx: Fix refcount leak bug in ksi8560.c Message-Id: <166272522204.2076816.4551170888225259298.b4-ty@ellerman.id.au> Date: Fri, 09 Sep 2022 22:07:02 +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 Thu, 16 Jun 2022 21:29:22 +0800, Liang He wrote: > In ksi8560_setup_arch(), of_find_compatible_node() 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] arch: powerpc: platforms: 85xx: Fix refcount leak bug in ksi8560.c https://git.kernel.org/powerpc/c/64e696af167f612cd1ecba89edfeb2353ca59947 cheers