Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2293245iof; Wed, 8 Jun 2022 01:39:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwN6OGEE/Qf+HlvYJ1ZB+cs48ouMfXQv0epPflIGezuRa5jsOkN9WwVovSraD/tfhH4c/4n X-Received: by 2002:a17:902:d4d0:b0:163:d4dc:bff8 with SMTP id o16-20020a170902d4d000b00163d4dcbff8mr34192264plg.129.1654677569731; Wed, 08 Jun 2022 01:39:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654677569; cv=none; d=google.com; s=arc-20160816; b=lXXGmUjvpq5nphAcI1qDQ6Aet6FZK3/cSCBT+xfO7QZhqOlJB34bckD1uT/VzoRPIh 0bquuRgqM/5/7nhHXc8kcQgxW5MkXq8hG+HNK2O07SwdXY73hGuSq/aOOJ9RwVOdKg37 jnCadTmIbAQPuIxOHWbag88CMAZs2b6z4bdm1rb6Gt2it+Xm8RIr5DaKOYQWmr1Lr8Eh NwFlHHmgQE/viHp/Y38sbfnT9DqgG7syzIr/cqF2oqf8zOIe8P86MbgTDLKtDf4t2Dd8 0SwhJV4OIQdPtxlrbdTX0YL8ZNubCWvKHxfOsntaF0Az+XDuolqyLQ+h6wjxTseQtuVy cfMw== 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:message-id:subject:cc:to:from:date; bh=b2TX3f7O8ZbEJBTjL/G86PkqesBm0UfLnUB5NteTNYo=; b=Bgbz2QL7GXjBzzGe+Y1tctPOCDTRyraqA7VKMptk5FwDS8iohOljYMavmMJcKD5PuQ wFZxt//RQxUZy+aZplW0EShm3ZuD7G7B9oYZQhB2/LiwWQcAnPrffXed55Y1cUy52iua 8xzPNRzUg5pTCnjyUYFXGVyVJJzU1bqsZ8hzrC3ZPV2PCKQGWCG7CXdRQi5KGyDK5Zeg UIfM9+bT8yv49BsUA9xtElcTZVyV+rv1pZyhVGo8tl+i7EGcvApNpUj6UG+aUvVV+wrR PTpI3WwtblThcjHxFQTJDmJ0YK8E2SjiM/xqUF3v99nR64U29bQZbEz43Zu+ddkGkXpd z8Yw== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id l21-20020a056a0016d500b0050d6182e323si29984578pfc.146.2022.06.08.01.39.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 01:39:29 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2B9FE2347D7; Wed, 8 Jun 2022 01:03:13 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233082AbiFHHqD (ORCPT + 99 others); Wed, 8 Jun 2022 03:46:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240299AbiFHHiR (ORCPT ); Wed, 8 Jun 2022 03:38:17 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4E181C0CB6 for ; Wed, 8 Jun 2022 00:04:20 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nypji-0002oR-6h; Wed, 08 Jun 2022 09:04:14 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1nypjh-0078UY-4b; Wed, 08 Jun 2022 09:04:11 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nypje-00EvIo-T1; Wed, 08 Jun 2022 09:04:10 +0200 Date: Wed, 8 Jun 2022 09:04:08 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Tudor.Ambarus@microchip.com Cc: alexandre.belloni@bootlin.com, Nicolas.Ferre@microchip.com, linux-crypto@vger.kernel.org, kernel@pengutronix.de, Claudiu.Beznea@microchip.com, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, Herbert Xu , "David S. Miller" Subject: Re: [PATCH] crypto: atmel-ecc - Remove duplicated error reporting in .remove() Message-ID: <20220608070408.odie7hrcnfasegbr@pengutronix.de> References: <7ffd4d35-938a-3e82-b39b-92e76819fa92@microchip.com> <20220520172100.773730-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4gnzjrjot45eo7jj" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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-crypto@vger.kernel.org --4gnzjrjot45eo7jj Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello On Wed, Jun 08, 2022 at 04:33:48AM +0000, Tudor.Ambarus@microchip.com wrote: > On 5/20/22 20:21, Uwe Kleine-K=F6nig wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know = the content is safe > >=20 > > Returning an error value in an i2c remove callback results in an error > > message being emitted by the i2c core, but otherwise it doesn't make a > > difference. The device goes away anyhow and the devm cleanups are > > called. > >=20 > > As atmel_ecc_remove() already emits an error message on failure and the > > additional error message by the i2c core doesn't add any useful > > information, change the return value to zero to suppress this message. > >=20 > > Also make the error message a bit more drastical because when the device > > is still busy on remove, it's likely that it will access freed memory > > soon. > >=20 > > This patch is a preparation for making i2c remove callbacks return void. > >=20 > > Signed-off-by: Uwe Kleine-K=F6nig >=20 > Reviewed-by: Tudor Ambarus In the past patches were picked up by Herbert. I assume your R-b tag was the missing bit to make him pick up this patch? To make a bit more sure that will happen, I added him and davem to Cc. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --4gnzjrjot45eo7jj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmKgSeUACgkQwfwUeK3K 7Am/5Af+NIWhwEUYLdsOV0/RIhZ8itERCDfCVrnMb8K5KwOQ+PgWSJiYcj0kSZnM tXavBcIqOV94MPWA9ra6PueGGdDHjU5NamPOHSD3c6z9ZWhny96VRIKYonjlG95j 1Al8wNonhgH4H/qiaFlhoW4QPhZUGQPfHRNqLT0Sql9iT2TYBkGls9sKHPtFMwOn QzhM1xCMee5UKWryWf42mhZIA7/GPu131+ZJFBVODXlzYd7krlNuKRegUul8r0pl T5F31aLeD+2tjST884EdzsseTSHaH5C0Z4ff8MmUNnd8zezvOZrwtLFaIGrKjSGV LLQBHkO2AS1MiUnv0nF110HEPSwpYQ== =Tb4p -----END PGP SIGNATURE----- --4gnzjrjot45eo7jj--