Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3998500rwl; Tue, 28 Mar 2023 00:46:49 -0700 (PDT) X-Google-Smtp-Source: AKy350YCVn/GG9hrLfsCf5B88uLtUot4yLnqiF6iXnI1AhWURkrUwCo59iMpNO8Gi9nVNL8ys5K2 X-Received: by 2002:a17:907:70a:b0:946:bfb0:de85 with SMTP id xb10-20020a170907070a00b00946bfb0de85mr1765282ejb.70.1679989609445; Tue, 28 Mar 2023 00:46:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679989609; cv=none; d=google.com; s=arc-20160816; b=EGEky0sCOaN3JPhTDKa3ix49MGGKHwbG+swAqt7Naf9C127+Zlt0UyCZ88xDPnjtAY plmYotXOM0s0X+C6Hr/cNAeYP/9LgOkS6lG1pAijxSedRN74squwh/hKfvoqTTqMbGlx oOF4V3rPvqXl66UbGc4ot7ojAeKG0s+ofDPPKSuLLiRsWW75TiZTSzMueL+R6mYXHx3F xmNprWwRkTbB3NqT+JSqYjxJof0M/oiAOHxhDVwyIOD8HnuxPuoRfesNUPKvQ3pCxXhf IjEHTMSbmgGLxl8kx0G0WLGlqOw0CzMdL8P1083qeps8vqOXsPQVrQRgaJsuqXuL/8Yr DCcw== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=gnINcze37S33vHMBmE2XZI97D/oQO140BrPywcEV24k=; b=PProaNaXzyFIam4ApmA1IsdPFd0zFtcCYbp5dJsh9lA5clgth/gOXbhWwbqp3+e48+ 52jXvK06lSEyBLuFCTYlR+qdwxft7FG7un4OHnmufu9OAUiNm2FX2NYmkO2wzFkOivLc tRE995iUjggG7QmGuCjTg9n8CEp00/9DAKHhb92tizwhuX/cCXcMVKG+izN+U0L7JjRG AYi6l73Ww2eYuQxW8RgBGGD1Cv7b6rfFT0sTiwc8t1GYNmlL2judqaaKXhW9ulJ8x7LP roFy9oBFVFSMjfaP6AAl8ZXqXpYHmIhcLlDB+M2DA+iOFHBhWCbJdmJrz5X2rMwgH5fC oIFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=BkCbJ6Rj; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id vb8-20020a170907d04800b00933f876a545si24826946ejc.516.2023.03.28.00.46.25; Tue, 28 Mar 2023 00:46:49 -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=pass header.i=@bootlin.com header.s=gm1 header.b=BkCbJ6Rj; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231925AbjC1HqP (ORCPT + 99 others); Tue, 28 Mar 2023 03:46:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230365AbjC1HqO (ORCPT ); Tue, 28 Mar 2023 03:46:14 -0400 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91064183; Tue, 28 Mar 2023 00:46:12 -0700 (PDT) Received: (Authenticated sender: clement.leger@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 6BAB31C000A; Tue, 28 Mar 2023 07:46:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1679989571; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gnINcze37S33vHMBmE2XZI97D/oQO140BrPywcEV24k=; b=BkCbJ6RjXwa+a5i7lfZaMQmFRtc8bs+T98Pf/4Q+M8gjSSQbFjDiVoqLswSPfLqAUyUT0T KHlwzE49zoniebxXsGLDqnOQaSfZG/RKvRkmZvMJ5s7/3RcWpMXVLiHI/kMawrA9SL4wCF K+SiY95jWsEWf7CFRp2bWfGNema90M5Aq3/dX2EqokDIuIiRrF2UkjcLxDFcy43fh9BJvI /ia4+IhA7wmw03NxI+rl5P/SaBZ2NV1ddNv3RHoSf3PAnVkKVQo4ZRZhfFYpSEmw6kr4EZ LNTkVBBjLUSYtQvj2CRc/z9PFM9Fs3lhywdIPALKRnUQZvfnbLWzry7caINNoQ== Date: Tue, 28 Mar 2023 09:46:48 +0200 From: =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= To: Stephen Boyd Cc: Michael Turquette , Sylwester Nawrocki , Rob Herring , Frank Rowand , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] clk: add missing of_node_put() in "assigned-clocks" property parsing Message-ID: <20230328094648.51928f2f@fixe.home> In-Reply-To: <9832bfd49eb83257a6a62620023773c1.sboyd@kernel.org> References: <20230131083227.10990-1-clement.leger@bootlin.com> <9832bfd49eb83257a6a62620023773c1.sboyd@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 4.1.1 (GTK 3.24.36; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Le Tue, 14 Mar 2023 17:44:35 -0700, Stephen Boyd a =C3=A9crit : > Quoting Cl=C3=A9ment L=C3=A9ger (2023-01-31 00:32:27) > > When returning from of_parse_phandle_with_args(), the np member of the > > of_phandle_args structure should be put after usage. Add missing > > of_node_put() calls in both __set_clk_parents() and __set_clk_rates(). > >=20 > > Fixes: 86be408bfbd8 ("clk: Support for clock parents and rates assigned= from device tree") > > Signed-off-by: Cl=C3=A9ment L=C3=A9ger > > --- =20 >=20 > Does this series from a year ago help[1]? >=20 > [1] https://lore.kernel.org/all/20220623121857.886-1-nuno.sa@analog.com/ >=20 > Nobody reviewed it, but if you can then I can probably apply it. I'm only be able to review the first patch of the serie which is equivalent to what I did but it mixes refactoring and fixes. --=20 Cl=C3=A9ment L=C3=A9ger, Embedded Linux and Kernel engineer at Bootlin https://bootlin.com