Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp256756pxj; Fri, 28 May 2021 03:18:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3Wh0/UKQj55Sn7AaSKVUPbas8ZT2hiIw+dyOmLC1pEt8HRn/Zn2QWLHC41DDaSe1qg66d X-Received: by 2002:a50:f38d:: with SMTP id g13mr9041986edm.178.1622197106409; Fri, 28 May 2021 03:18:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622197106; cv=none; d=google.com; s=arc-20160816; b=cGtXXdV+PFSBLKpo7trTU0BOFskgT5mmcSm6Jksn4o1/mxrXhBnkwXC7ZADTX5Q07u 9B5Z0OWfOdRAP0AnTEa5XS8BqtAkRa4jcSym6c1MBErBIE92wuvyVfhg59TMhfAOrwcg n3WIh+TuMgcRLTz04mk5/kGu2po3MRrVIEoI0Lnu03q1q8xcZS2l310BlMAjuQuWX6va 2exTFDf+iUz5p+DkLsx6ozE4c/QekjeyC23weF4FZwfHQhLqnDKfGhPK+lGBzpSTG9cT WEZ4uamMFzkQrpWOoZCRZznOXVb3ZHAHha0CBMQLaN+sSY8Luxqe3bsLhb6GpMHlNJQ3 x30g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=nXH9c334eIDRp9i2Q3I7SxQNF3IdDaq28TErmzhP1ww=; b=fvRfkO1nNdAAN6Y6yOqzUaFkHExhB/M3SN8/ijwEKaRR4v17iBXyI5vE3Hwcy8Rn8i XKN4y9fOBVsfCPtGiySxj6p7Wv7M4PmV1Mo+YpQHn+TnTzmC/yuSIS3cd6XrybgYbxsx WC8EJhiEs/m22OZ8Fb1FcFi9SIgJE/IiYj+TSnVhgj0pWDABwUaiYcGjRzuRtytE1vI4 rOZ7Rc0gck936VREk7NttQLsfGJIYeY7u51fjOZn0YTYvIA2/6TZO9W82Yza2DCo5Epb b8tKi7vgvkF5/vT1iwkURIjrn8Uu4OyA3wrdj1tf+is1gxP4zvBIsC9qswGARZ1KqRfc hMOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kl18si4820009ejc.160.2021.05.28.03.18.02; Fri, 28 May 2021 03:18:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236423AbhE1KQb (ORCPT + 99 others); Fri, 28 May 2021 06:16:31 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:35006 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236312AbhE1KQa (ORCPT ); Fri, 28 May 2021 06:16:30 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 1E13B1C0B76; Fri, 28 May 2021 12:14:55 +0200 (CEST) Date: Fri, 28 May 2021 12:14:54 +0200 From: Pavel Machek To: Andy Shevchenko Cc: Andy Shevchenko , Amireddy Mallikarjuna reddy , Linus Walleij , Marek =?iso-8859-1?Q?Beh=FAn?= , Abanoub Sameh , Dan Murphy , Krzysztof Kozlowski , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss Subject: Re: [PATCH v1 28/28] leds: sgm3140: Put fwnode in any case during ->probe() Message-ID: <20210528101454.GJ2209@amd> References: <20210510095045.3299382-1-andy.shevchenko@gmail.com> <20210510095045.3299382-29-andy.shevchenko@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ed/6oDxOLijJh8b0" Content-Disposition: inline In-Reply-To: <20210510095045.3299382-29-andy.shevchenko@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ed/6oDxOLijJh8b0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > fwnode_get_next_child_node() bumps a reference counting of a returned var= iable. > We have to balance it whenever we return to the caller. This (and similar) -- in half of the drivers we hold the handle from successful probe. Is it a problem and why is it problem only for some drivers? Thanks for series, btw, I pushed out current version of the tree. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --ed/6oDxOLijJh8b0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmCwwp4ACgkQMOfwapXb+vIS8wCfVQC421VH3xqggROvaYA1p7af l7cAoKH7rhc7udLq/Hy8XoE0n3gwnC+7 =r3rT -----END PGP SIGNATURE----- --ed/6oDxOLijJh8b0--