Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1156665lqo; Thu, 9 May 2024 06:26:26 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU1waukIUzM3OBLivmJvgPhYtE2AeN+0p41Cvj1LifYAdmj9pRkn58hSI8UGf+9PyXArCzfSOGnKJTTxPky6xbA/pBRAyY7cxDoyMNIXg== X-Google-Smtp-Source: AGHT+IHA/E8uM09fAP+DxUR3ZrVPgh76P2JghIlpZwadDxdx43TyADFL1yoQ7GySg89gkLrfQ+3Q X-Received: by 2002:a05:6830:3101:b0:6f0:3a07:2690 with SMTP id 46e09a7af769-6f0b7e94c64mr8161077a34.29.1715261186397; Thu, 09 May 2024 06:26:26 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f3047ecsi14125726d6.548.2024.05.09.06.26.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 06:26:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174537-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-174537-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174537-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 202E51C22B5F for ; Thu, 9 May 2024 13:26:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6713C15AAD7; Thu, 9 May 2024 13:26:08 +0000 (UTC) Received: from fgw20-7.mail.saunalahti.fi (fgw20-7.mail.saunalahti.fi [62.142.5.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0AB3115667B for ; Thu, 9 May 2024 13:26:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.142.5.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715261167; cv=none; b=OnoPZPi2g+GrGz/gJWSjIkoy3H7iDmWZ4ls5RZ2DlB69HBD2rGr04oT6DEfJ1wo9wiQ0TE3Fp8kDczBGmrpxjhIjK5556hRNZ5aFqiXoeYYFuTk1Mppk33GtsUjSkemBQb8z7xkQcrinZw7y1dE/IpvkRay464f7kjFwLP08/i8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715261167; c=relaxed/simple; bh=D8LYzUgF3hHRALNDAuNfy+B9rBZtLYSpGxhdvjLQAyc=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=g+h03gM/ogmKaRaabmIDDHHSNOd3RvQ6Xkl3lfzGcdv0xuypsD6SciOMDMcH6q++haJBs3zJ1Nr3Xsv4P4vnmvl8R8UyFLHzQx65Cuq8rp55hguG6rk/Kd3DMq6DbICTdkDyTgZ/61vVSCDw4QdATljDIqT3e0UHXogTHNBcPsY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com; spf=fail smtp.mailfrom=gmail.com; arc=none smtp.client-ip=62.142.5.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=gmail.com Received: from localhost (88-113-25-208.elisa-laajakaista.fi [88.113.25.208]) by fgw20.mail.saunalahti.fi (Halon) with ESMTP id aeaeacf0-0e07-11ef-b3cf-005056bd6ce9; Thu, 09 May 2024 16:26:03 +0300 (EEST) From: Andy Shevchenko Date: Thu, 9 May 2024 16:26:02 +0300 To: Johan Hovold Cc: Andy Shevchenko , Johan Hovold , Lee Jones , Mark Brown , Linus Walleij , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Das Srinagesh , Satya Priya , Stephen Boyd , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH 02/13] mfd: pm8008: fix regmap irq chip initialisation Message-ID: References: <20240506150830.23709-1-johan+linaro@kernel.org> <20240506150830.23709-3-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Thu, May 09, 2024 at 10:49:28AM +0200, Johan Hovold kirjoitti: > On Tue, May 07, 2024 at 08:16:45PM +0300, Andy Shevchenko wrote: > > On Tue, May 7, 2024 at 6:01 PM Johan Hovold wrote: > > > On Mon, May 06, 2024 at 09:56:05PM +0300, Andy Shevchenko wrote: > > > > Mon, May 06, 2024 at 05:08:19PM +0200, Johan Hovold kirjoitti: > > > > > The regmap irq array is potentially shared between multiple PMICs and .. > > > > > - dev_err(dev, "Failed to probe irq periphs: %d\n", rc); > > > > > + dev_err(dev, "failed to add IRQ chip: %d\n", rc); > > > > > > > > dev_err_probe(...); ? > > > > > > This function won't return -EPROBE_DEFER, > > > > This is not an argument for a long time (since documentation of > > dev_err_probe() had been amended to encourage its use for any error > > cases in probe). > > There was apparently a kernel doc update made in December 2023: > > 532888a59505 ("driver core: Better advertise dev_err_probe()") > > to clarify that people are *allowed* to use it also for functions not > returning -EPROBE_DEFER. That's hardly a long time ago and, importantly, > this is of course still nothing that is *required*. Fair enough. > > > and that would be a separate > > > change in any case. > > > > Sure, but why to add a technical debt? Perhaps a precursor cleanup patch? > > This is not in any way technical debt. OK. -- With Best Regards, Andy Shevchenko