Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1296761pxb; Fri, 13 Nov 2020 09:03:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwH45hhAzKmfk+wNqLiiF5oJOfufqk/gXTMC3mBLLot/dpAIDf44DXXKJeVTa1g8U0XeJtz X-Received: by 2002:a17:906:280a:: with SMTP id r10mr2825068ejc.58.1605286984215; Fri, 13 Nov 2020 09:03:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605286984; cv=none; d=google.com; s=arc-20160816; b=QDL7VKjYB9ZWqAp901cZ6TIi+P2V8FN5OgF5mTRQqgI2hZVFr/IRnEZfZaYlUe1Xe2 dnDIi8dUr1KifvlkF4u/B4X4D39T9veDW8tVrP4g+PjHj0Qg+Xu49h3K0cizebXmm2/0 DOIlwe5u0zsQ9mBcuG10aByJzhxq34iFZfI4Kyuh1Yhe9NAgRhN4gD8a+tHAqku6M6dt itqujRDw6BCQt8KjQvasDM5VNybZWCKwtojOIvZiroT5yfJ0yZmL1yapOWSN2n+je2gS HdMxV8vV62vFZPMarKMuBmBwYXbW0GbmN40p4RldRLVp77eRWIZgxd3dpPuUSPBbYpsz FA9A== 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=P539R5rY7DhClUV2Mps8RlYveIL+fz5Lkz60R9Nv+eo=; b=XqNYZ7cLyGJj+IY9WHHHjFJTVhGSzgFfrXAtgwXPXkrE/vLV7cUoINqSrVn0H8DLVw 2YmXMMlNyFjNGm3IXPXoIT4wc2onvUhI9h/9MrXq6Medtdm6A8ZA4/Vc1hxN+IIKJcp4 WylgEMh4lfxZkqRzaggj7k7N5sBKhK2CpgZ3BJO5Fv36MbelTiMtX8SUl4u1Pp8g+Sxn OncdBsMpaLd/gxXg3KwrIczR0msOL1VeJNobHA28+fQx1sKCHLY0g9SPC6CrRnw0O+6+ WdJhW/K2PoQOv0rEOA/d0mF3E8kbktLfegwsiuYPaG92ZEVnKQ9lhX7plaJe5+yo1ERK T8Xw== 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 mm25si6014548ejb.610.2020.11.13.09.02.35; Fri, 13 Nov 2020 09:03:04 -0800 (PST) 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 S1726156AbgKMRAs (ORCPT + 99 others); Fri, 13 Nov 2020 12:00:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725941AbgKMRAs (ORCPT ); Fri, 13 Nov 2020 12:00:48 -0500 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 B4766C0613D1 for ; Fri, 13 Nov 2020 09:00:47 -0800 (PST) Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kdcRK-00084V-DL; Fri, 13 Nov 2020 18:00:46 +0100 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1kdcRJ-0005BI-MB; Fri, 13 Nov 2020 18:00:45 +0100 Date: Fri, 13 Nov 2020 18:00:43 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Joe Perches Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Thierry Reding Subject: Re: [PATCH 3/2] checkpatch: document the function renaming and deprecation around devm_ioremap_resource Message-ID: <20201113170043.osr63jash7anc3xn@pengutronix.de> References: <20201113085327.125041-1-u.kleine-koenig@pengutronix.de> <20201113091157.125766-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wtj7d2m3pw3mnq7d" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 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-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --wtj7d2m3pw3mnq7d Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 13, 2020 at 08:36:44AM -0800, Joe Perches wrote: > On Fri, 2020-11-13 at 10:11 +0100, Uwe Kleine-K=F6nig wrote: > > Signed-off-by: Uwe Kleine-K=F6nig > > --- > > Hello, > >=20 > > this can also be squashed into the respective patches instead. > >=20 > > Best regards > > Uwe > >=20 > > =A0scripts/checkpatch.pl | 5 +++++ > > =A01 file changed, 5 insertions(+) > >=20 > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > [] > > @@ -615,6 +615,11 @@ our %deprecated_apis =3D ( > > =A0 "rcu_barrier_sched" =3D> "rcu_barrier", > > =A0 "get_state_synchronize_sched" =3D> "get_state_synchronize_rcu", > > =A0 "cond_synchronize_sched" =3D> "cond_synchronize_rcu", > > + "devm_platform_get_and_ioremap_resource" =3D> "devm_platform_get_requ= est_and_ioremap_resource", >=20 > Do we really need 46 character length function names? I can drop the "_and" and maybe "_get", so we're down to 38 "only". Other than that I think all name parts are relevant. > > + "devm_platform_ioremap_resource" =3D> "devm_platform_request_ioremap_= resource", > > + "devm_platform_ioremap_resource_wc" =3D> "devm_platform_request_iorem= ap_resource_wc", > > + "devm_ioremap_resource" =3D> "devm_request_ioremap_resource", > > + "devm_ioremap_resource_wc" =3D> "devm_request_ioremap_resource_wc", > > =A0); > > =A0 > >=20 > > =A0#Create a search pattern for all these strings to speed up a loop be= low >=20 > And do please send your proposed patches to the appropriate maintainers. Yes, sure. This patch 3/2 was only a quick shot and it was already clear to me that I have to redo it. I want to squash this change in the patch that does the actual renaming, I assume that's fine for you?! Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --wtj7d2m3pw3mnq7d Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAl+uu7gACgkQwfwUeK3K 7AmhZwgAn8M592lJ6WFng4B8Ss7PMBBEPJkZWITtxKBr9fZ0KLGrvhnOmGjRaj0D /PVZQwsVfbjJE561XTliNRMKFqUEzDBZYR0ipk9vpXHA5nFVuvT72w8gxgT+jBmZ YrpajNSnF1l57ata6ruGxVt4LVsmxpBc1aucL/rEwfneNTHMtzC78erE/7xE5zj/ sy9q6ojTax0Ni6RCRVBEUTAzWL/1ZlENIovndy/64xwqpd/pPYOCoqsW6Kwmm5i9 1dhJfflcsBqqaaRzv+IehNUG8JHaJJLEgPJ6SjxVUVqBLh20CR0GLHOcnsRdBcGi dBlu8pbpqcIssRDIAvHdOy7Fu+A/cg== =D38b -----END PGP SIGNATURE----- --wtj7d2m3pw3mnq7d--