On 06/10/2016 10:15 AM, Peter Maydell wrote: > The cpu_to_*w() functions just compose a pointer dereference > with a byteswap. Instead use st*_p(), which handles potential > pointer misalignment and avoids the need to cast the pointer. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > nbd/client.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) >
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature