From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDae3-0004vD-3J for qemu-devel@nongnu.org; Thu, 16 Jun 2016 12:59:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDae0-0003f8-QA for qemu-devel@nongnu.org; Thu, 16 Jun 2016 12:59:54 -0400 References: <1466093177-17890-1-git-send-email-peter.maydell@linaro.org> From: Eric Blake Message-ID: <5762DB01.2080203@redhat.com> Date: Thu, 16 Jun 2016 10:59:45 -0600 MIME-Version: 1.0 In-Reply-To: <1466093177-17890-1-git-send-email-peter.maydell@linaro.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2pLedxVSaEjqBNAPVBtL1ibtd51RxNoc1" Subject: Re: [Qemu-devel] [PATCH] block/qcow2: Don't use cpu_to_*w() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-devel@nongnu.org Cc: Kevin Wolf , Max Reitz , qemu-block@nongnu.org, patches@linaro.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2pLedxVSaEjqBNAPVBtL1ibtd51RxNoc1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06/16/2016 10:06 AM, Peter Maydell wrote: > Don't use the cpu_to_*w() functions, which we are trying to deprecate. > Instead either just use cpu_to_*() to do the byteswap, or use > st*_be_p() if we need to do the store somewhere other than to a > variable that's already the correct type. >=20 > Signed-off-by: Peter Maydell > --- > block/qcow2-cluster.c | 2 +- > block/qcow2-refcount.c | 11 +++++------ > block/qcow2.c | 6 +++--- > 3 files changed, 9 insertions(+), 10 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --2pLedxVSaEjqBNAPVBtL1ibtd51RxNoc1 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/ iQEcBAEBCAAGBQJXYtsBAAoJEKeha0olJ0NqMqwIAKQ3JRQM6hE9fgvbZ6DeB6rp pgl8VfvmRBPAaJF1lrYJSNrHA99jTDJrklDYZ7XAhCRkNjatTNsS6PruxviJunTt StRV0Tdi6L686wgChZYCCO+JdpGmJtvUAWA4LgtwxXhe9SDFEghDwAK+rwGxEuES vhQU+tRvZRAJjFklG9ckqw03Qw/4C6n9TSR94+0HdaTgsjihUvlJSItkq8kYpqTN vcYKgOzl588nPRdEVCSwR+FnGKxhB6qtjT1N2XTJ9vfCnTS1/oGEBKEtRIpS+tU1 2AP0flUDDbbHB0MFJmehtyAq4Uwu6gSEytnIINpN1/Ci/GMZrBPs4zzSr+of/SQ= =8J1/ -----END PGP SIGNATURE----- --2pLedxVSaEjqBNAPVBtL1ibtd51RxNoc1--