From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axxpI-0001o5-JJ for qemu-devel@nongnu.org; Wed, 04 May 2016 10:31:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axxp6-0001z5-FP for qemu-devel@nongnu.org; Wed, 04 May 2016 10:30:51 -0400 References: <1462371352-21498-1-git-send-email-peter.maydell@linaro.org> <1462371352-21498-2-git-send-email-peter.maydell@linaro.org> From: Eric Blake Message-ID: <572A076F.3090808@redhat.com> Date: Wed, 4 May 2016 08:30:07 -0600 MIME-Version: 1.0 In-Reply-To: <1462371352-21498-2-git-send-email-peter.maydell@linaro.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="flE6KtTE6VTMcV0LE7BJBibPtqSr74Dad" Subject: Re: [Qemu-devel] [PATCH 1/2] hw/display/blizzard: Expand out macros List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: patches@linaro.org, Pooja Dhannawat , Gerd Hoffmann This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --flE6KtTE6VTMcV0LE7BJBibPtqSr74Dad Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 05/04/2016 08:15 AM, Peter Maydell wrote: > Now that we can assume that only depth 32 is possible, there's no need > for the COPY_PIXEL1 and PIXEL_TYPE macros, and the SKIP_PIXEL, COPY_PIX= EL > and SWAP_WORDS macros aren't used at all. Expand out COPY_PIXEL1 and > PIXEL_TYPE where they are used, delete the unused macro definitions, an= d > expand out the uses of glue(name_prefix, DEPTH). >=20 > Signed-off-by: Peter Maydell > --- > hw/display/blizzard_template.h | 55 +++++++++++++---------------------= -------- > 1 file changed, 17 insertions(+), 38 deletions(-) I might have broken into more patches, one per macro expansion; but the final patch was still small enough to review when merged, so keep it the way you have it. Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --flE6KtTE6VTMcV0LE7BJBibPtqSr74Dad Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJXKgdvAAoJEKeha0olJ0Nq/l4H/1IKdknUwhiqdRRvYIGjdGXL QEeFGkGCq6ijI7w6wRDib1pNM7uXWChliP69sRS3ziHBLmctaIU3BYogplULfGIs uTNvQt347lxWNYus0FIdsypxBg5yY0UjVgqvmDQGYVv+wh2rM+IdBYzENoxJpZlG P7/ZFQWuLUqkUlOgG+ebPaqE+YxxxxnXLi3hmS41MqJdX3XhFQs6S6148PNqPVPf EqNvacKYin//J2VWefztDeFkHTBnPm3cmzFPv3MsiHuk3sB65xcxa1EY7KA248bi gwceyvRaZluNVR8ILy+dVvB04BT9cr2Z0Fc73AsWLpJSVDfJIdbOZ3JNhb5Fbb4= =AOOu -----END PGP SIGNATURE----- --flE6KtTE6VTMcV0LE7BJBibPtqSr74Dad--