From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=3.0 tests=BAYES_00,DKIM_ADSP_NXDOMAIN, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA418C49361 for ; Thu, 17 Jun 2021 07:31:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BF718613B9 for ; Thu, 17 Jun 2021 07:31:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230186AbhFQHd5 (ORCPT ); Thu, 17 Jun 2021 03:33:57 -0400 Received: from fgw20-7.mail.saunalahti.fi ([62.142.5.81]:37810 "EHLO fgw20-7.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbhFQHd5 (ORCPT ); Thu, 17 Jun 2021 03:33:57 -0400 Received: from localhost (88-115-248-186.elisa-laajakaista.fi [88.115.248.186]) by fgw20.mail.saunalahti.fi (Halon) with ESMTP id 12703671-cf3e-11eb-ba24-005056bd6ce9; Thu, 17 Jun 2021 10:31:47 +0300 (EEST) Date: Thu, 17 Jun 2021 10:31:46 +0300 From: andy@surfacebook.localdomain To: Andy Shevchenko Cc: Linus Walleij , Lars Povlsen , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Steen Hegelund , UNGLinuxDriver@microchip.com Subject: Re: [PATCH v1 1/1] pinctrl: microchip-sgpio: Put fwnode in error case during ->probe() Message-ID: References: <20210606191940.29312-1-andy.shevchenko@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210606191940.29312-1-andy.shevchenko@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sun, Jun 06, 2021 at 10:19:40PM +0300, Andy Shevchenko kirjoitti: > device_for_each_child_node() bumps a reference counting of a returned variable. > We have to balance it whenever we return to the caller. Linus, any comments on this? Can it be applied sooner than later since it's a fix? -- With Best Regards, Andy Shevchenko