From: Doug Goldstein Subject: Re: [PATCH 1/9] x86/mtrr: prefix fns with mtrr and drop static Date: Wed, 17 Aug 2016 20:38:28 -0500 Message-ID: <61b107ed-7ce6-e201-368a-b2af77d596d6@cardoe.com> References: <1471390109-10407-1-git-send-email-cardoe@cardoe.com> <1471390109-10407-2-git-send-email-cardoe@cardoe.com> <57B476560200007800106AAE@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8652627869782429871==" Return-path: In-Reply-To: <57B476560200007800106AAE@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Jan Beulich Cc: Andrew Cooper , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============8652627869782429871== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uV1rj4OdPj1vtnhfxbbCQKUQH4a3wAmj6" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --uV1rj4OdPj1vtnhfxbbCQKUQH4a3wAmj6 Content-Type: multipart/mixed; boundary="aFFAlSltA05liim01aCFoF5nCm2FkcEIt" From: Doug Goldstein To: Jan Beulich Cc: Andrew Cooper , xen-devel@lists.xen.org Message-ID: <61b107ed-7ce6-e201-368a-b2af77d596d6@cardoe.com> Subject: Re: [PATCH 1/9] x86/mtrr: prefix fns with mtrr and drop static References: <1471390109-10407-1-git-send-email-cardoe@cardoe.com> <1471390109-10407-2-git-send-email-cardoe@cardoe.com> <57B476560200007800106AAE@prv-mh.provo.novell.com> In-Reply-To: <57B476560200007800106AAE@prv-mh.provo.novell.com> --aFFAlSltA05liim01aCFoF5nCm2FkcEIt Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 8/17/16 7:36 AM, Jan Beulich wrote: >>>> On 17.08.16 at 01:28, wrote: >> For the functions that make up the interface to the MTRR code, drop th= e >> static keyword and prefix them all with mtrr for improved clarity when= >> they're called outside this file. This also required adjusting or >> providing function prototypes to make them callable. >=20 > I can see why you want to do this for non-static functions, but I can't= > see why static ones would need to get altered (unless you mean to call > them directly in subsequent patches, in which case the rationale above > should be adjusted). Nor can I see why the two functions previously > having been non-static can't simply be made static, without changing > their names, as the patch demonstrates that they don't have callers > in other CUs. >=20 > Jan >=20 I've added: Future changes will directly call these functions instead of using the indirect call through the ops structure. Does that work? --=20 Doug Goldstein --aFFAlSltA05liim01aCFoF5nCm2FkcEIt-- --uV1rj4OdPj1vtnhfxbbCQKUQH4a3wAmj6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0 iQJ8BAEBCgBmBQJXtRGXXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNTM5MEQ2RTNFMTkyNzlCNzVDMzIwOTVB MkJDMDNEQzg3RUQxQkQ0AAoJEKK8A9yH7RvU3zUP/Rvpb7HRFj3hIByt/U11TMcu 436oF44MgYLvwV8oH7f+NNW7Qzp/w0Xqmtki/+8aP65a3FzKDHkD44aXw1/ZB61u ZtWin9nXHjsrs3Yl10huQeJKs6CZnrCp8m2D5fZctYOrR9SES+B3Fh+tnrTK1ODe wIsLa/Of4D2cDX3EnFx+3Ucz6WmWk1dDrw4VbGU5vPMdc1LL7psFBaFdSjPWg+YM Zs4wMvqeEJ1emq31Vdkb717IzCI0Vto5NEMUXBKcy01HhMq6zVcXvqbVfKT2sN4+ gd6eGwJEKNSOboUsO/lQ4dkQ+QaUOX3K05J3vzhcdwlLHyJ5HlcjVs1NYqptFztD kc2ijtCOQMHfvuoP3hnSW4qw+D3ITac7MeO0JE1MklDjmo29VNtT9RnJ6CQWkxG1 FHakdWY8nQrm1rn7i/468TFBnDAjP7tfs27/shabZ58yHA2AbtdKCAbaRphOPNd6 F7WuSHRuV0BpUE6HE1Wmn78E765dA9GbAbQLjKSsyyXQhlAdCxzh7KZBy12rAjSv 5DTPYALwIIBQKNxhVoPsTFj1KExSU5DxMNK6oRrX/O52rf31M20CYMnzDyy7cHwp 6rpi4kzMvun1LyHJBrWq9DBY2zJYcxobf1lWmUfenJRhYpZMRjx2DQ4RAl0Vfrek qQCE4CeC1N7zHVR1eQdR =xOhE -----END PGP SIGNATURE----- --uV1rj4OdPj1vtnhfxbbCQKUQH4a3wAmj6-- --===============8652627869782429871== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============8652627869782429871==--