fsdev/9p-iov-marshal.c: Don't use cpu_to_*w() functions
commitb442642da145cb10293f577f3b43bda8beeb31cf
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 7 Jul 2016 16:20:56 +0000 (7 17:20 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 12 Jul 2016 14:08:53 +0000 (12 15:08 +0100)
tree93277eb696060b9aa3b767eacabf8da963e12ba3
parentb35399bb4e9968296a12303b00f9f2066470e987
fsdev/9p-iov-marshal.c: Don't use cpu_to_*w() functions

Don't use the cpu_to_*w() functions, which we are trying to deprecate.
Instead just use cpu_to_*() to do the byteswap, which brings the
code in the marshal function in line with that in the unmarshal.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1467908460-27048-2-git-send-email-peter.maydell@linaro.org
fsdev/9p-iov-marshal.c