[PATCH 0/2] vhost: cross-endian code cleanup

From: Greg Kurz
Date: Wed Jan 13 2016 - 12:09:46 EST


This series is a respin of the following patch:

http://patchwork.ozlabs.org/patch/565921/

Patch 1 is preliminary work: it gives better names to the helpers that are
involved in cross-endian support.

Patch 2 is actually a v2 of the original patch. All devices now call a
helper in the generic code, which DTRT according to vq->private_data, as
suggested by Michael.

---

Greg Kurz (2):
vhost: helpers to enable/disable vring endianness
vhost: disentangle vring endianness stuff from the core code


drivers/vhost/net.c | 3 +++
drivers/vhost/scsi.c | 3 +++
drivers/vhost/test.c | 2 ++
drivers/vhost/vhost.c | 40 ++++++++++++++++++++++++++++------------
drivers/vhost/vhost.h | 1 +
5 files changed, 37 insertions(+), 12 deletions(-)