On 06/28/2016 08:50 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. > > Signed-off-by: Peter Maydell <[email protected]> > --- > block/qcow2-cluster.c | 2 +- > block/qcow2-refcount.c | 11 +++++------ > block/qcow2.c | 6 +++--- > 3 files changed, 9 insertions(+), 10 deletions(-)
Reviewed-by: Eric Blake <[email protected]> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
