Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp36181rdb; Mon, 14 Aug 2023 08:49:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGlyYwsMfxypguOBwg2xk/ZSmQjisWKX8HWKYs6BKc/G58Nb54tu8H87SN/8H6yDF+o2dSq X-Received: by 2002:a17:903:41c6:b0:1bc:2f17:c628 with SMTP id u6-20020a17090341c600b001bc2f17c628mr13529006ple.56.1692028151829; Mon, 14 Aug 2023 08:49:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692028151; cv=none; d=google.com; s=arc-20160816; b=G6/BhAveB7/H3eXHgJHFVFS677rlZn55Fne9xD7jgC1h/LTTkWVTZXSZYg34/Jn8h1 DOjMxZrP4OWmgTNh8w3UN5w63VTRyJd3yL3a2rKlyKifrl/8xpkXLfFingRwpHbeWJgu sIk77tZaI+OMZGuRAj0OyXeO23kc4FIm3jX8GXq9DnOAdyUmRxhzU96kV25eBoETVOHV 5rFUWfjyaSWy4oIddgk+EocYAr6c8unkqL3w76zw24/W9WjDlF8axi+KjwPpDyWP+oRQ 7HhLVMiuDmuZaG1EnlyGwrPx5quP/v5aFe/4TqYDEErJ9HS3L5SfJUuPf68wHYK70S0W logw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=DRzdPIKUmbGcvAzpJ59Jaz3VgU+um32k/6LTcjJ6FDI=; fh=TnWQceTmKBgjVhhdk7Oz2KauJ4A6jXugj3R283ITWWM=; b=BMDlJ2Rh2BxqweLslcQtaA9rnXxz7VXuOT8iaBzowXrOBW8wRd7lufWm4rbST1oK84 dQs7CsBK8qIWSH13CU7XMUWI9cEesLFvSLWKvWqM32mtzVMk54rrG7lucsF9Nt9Rk8wS QNwDXImnabzR7KW+Oo6Z0ZP09DvGlwBUridK81xuYy7ntoKhewAKVcYWNlTEtKrW1Avg 0G4pXyyrp2g7ddPwmrQAq/1VPXezam9VMcsof82A175BmW6agrx86S+OLuo1vOA9Rhf3 crtvDoAHQCm++Ot+i3b7FOuqUsEGVWiupkpA32Mu8QQKfoesbc/mTuu7oYnGLghTOj7s Pa0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P5LvcNE7; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id im22-20020a170902bb1600b001bdd4210369si3401812plb.354.2023.08.14.08.48.59; Mon, 14 Aug 2023 08:49:11 -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=@kernel.org header.s=k20201202 header.b=P5LvcNE7; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232272AbjHNPRd (ORCPT + 99 others); Mon, 14 Aug 2023 11:17:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232648AbjHNPRC (ORCPT ); Mon, 14 Aug 2023 11:17:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 353A11726; Mon, 14 Aug 2023 08:16:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5B61363D27; Mon, 14 Aug 2023 15:16:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E311C433C7; Mon, 14 Aug 2023 15:16:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692026197; bh=DRzdPIKUmbGcvAzpJ59Jaz3VgU+um32k/6LTcjJ6FDI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=P5LvcNE7N91sDfLj0zXRy9zX+HGhLvEe+yhLsN4PGJAJTHOLjiysAfzHtRRh46ZjP dNCF4mmYla2l/otHE4OdPM0xNzBOnXkxxBlkMXkF04Ql6Y3pktqBIpr3BhDtiIeTy4 23y4n5Q9gKlUWzlcRo2WyX3GajD4QhKVh6cZeUASCvCOoTr2G+Qd+J7r+wJgGBkjYa cbBHzO1QvLnQRAU82h2ewJPdrJm07wn3TXWBVROeOL6sui3e26+B6Sp6aT8IJJVhAt 0lQopZHlKp5YwABbKJJjYEhT8iMwfvmM2y+61+bldQJWcUfhmfqsnIMAdckEEZxjFT gUZy2SbRJvyaw== Date: Mon, 14 Aug 2023 17:16:31 +0200 From: Wolfram Sang To: Andi Shyti Cc: florian.fainelli@broadcom.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, yangyicong@hisilicon.com, aisheng.dong@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, kblaiech@nvidia.com, asmaa@nvidia.com, loic.poulain@linaro.org, rfoss@kernel.org, ardb@kernel.org, gcherian@marvell.com, Liao Chang , linux-i2c@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v3 0/9] Use dev_err_probe in i2c probe function Message-ID: Mail-Followup-To: Wolfram Sang , Andi Shyti , florian.fainelli@broadcom.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, yangyicong@hisilicon.com, aisheng.dong@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, kblaiech@nvidia.com, asmaa@nvidia.com, loic.poulain@linaro.org, rfoss@kernel.org, ardb@kernel.org, gcherian@marvell.com, Liao Chang , linux-i2c@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20230808012954.1643834-1-liaochang1@huawei.com> <169165547667.2480436.2965071341321476080.b4-ty@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8+NiwAwBgQFDWghu" Content-Disposition: inline In-Reply-To: <169165547667.2480436.2965071341321476080.b4-ty@kernel.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 --8+NiwAwBgQFDWghu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 10, 2023 at 10:19:35AM +0200, Andi Shyti wrote: > Hi >=20 > On Tue, 08 Aug 2023 09:29:45 +0800, Liao Chang wrote: > > Use the dev_err_probe function instead of dev_err in the probe function > > so that the printed messge includes the return value and also handles > > -EPROBE_DEFER nicely. > >=20 > > NOTICE: dev_err_probe always print the second parameter that happens to > > be the return value, hence the return errno will be removed from the > > third parameter to avoid a redundant error message. > >=20 > > [...] Applied to for-next (via Andi's branch), thanks! --8+NiwAwBgQFDWghu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmTaRU4ACgkQFA3kzBSg KbbgbA//VfSSnUFBZKU7yYg8sAHg81guMfRmL9es0zCaT7kpvdl+MQjcMZPzm5+b BUoxuyW4xnHiMYQtCuXTsUv5N5LC/XEw/qypExq10hQ5xeKk9TZnmYOdJaiCo6y0 dRjHGHaIkwObj1Y4NhdsOKFAb5LzD6K/MWn+0/79/qm4AzHGqcwL41xugowg2hH7 /WBrKKPtll/xdUGBU8yQzl/WpumtEXY1xZnxSRKfaMq3Pv0ow5lUb/7KT++qYys5 KGTP8XjfTv6s08wyZa+qZTQ3PLzkoyddXOgNiLvjdVbNMehXTwXW5vOXG4pTDxi5 sfP3i0JPBJg6e8vf4b69Qc8UWCihq+XF2wmLfRX7AJoI3XJERYBkslqb5xdHSieB FP4ajNydI7aEOWfdJA7OwBcrW1p5/HXaHJlx35AAsfzR4G4IeCC3ixbmVJqU6/gv 3mIkwnujrYDBYtO5D22N41COi9F393CmKKfb6XsIJrLIqvhkaRZIiuMWRfngnmhA 1Pz7LvW7vjcRYv0US4fXgYkMtCNmvDgxPtMcFpuqc9wUywXk7MVzL95Kz8WmIDZb AKFC7Fg8v+S7qtBNSyT9UdOwbUVRv2TImM9sCu7UvLSPBZyaqjeunesSSWYKSNVl 9vDeEIi9idvSQw9T40OxQFqf+af8HFZtoVQ1ofwzmln5Xth/jvo= =+Bmf -----END PGP SIGNATURE----- --8+NiwAwBgQFDWghu--