# Re: \[PATCH v2 0/3\] vhost: cross-endian code cleanup

- From: Michael S. Tsirkin \<mst@redhat.com\>
- Date: 2016-02-16 15:34:57 
- List: netdev
- Page: https://ratatoskr.run/netdev/2016/02/4686745
- Thread: https://ratatoskr.run/netdev/2016/02/4686695/t.md

```text
On Tue, Feb 16, 2016 at 03:54:18PM +0100, Greg Kurz wrote:
> This series is a new tentative to have cleaner cross-endian code.
> 
> Patches 1/3 is new: it fixes a side-effect in case vhost_init_used() fails.
> 
> Patch 2/3 comes from v1: it renames cross-endian helpers
> 
> Patch 3/3 is new: it simply renames vhost_init_used() as suggested by Michael.

Is this on top of my tree?

> ---
> 
> Greg Kurz (3):
>       vhost: fix error path in vhost_init_used()
>       vhost: rename cross-endian helpers
>       vhost: rename vhost_init_used()
> 
> 
>  drivers/vhost/net.c   |    2 +-
>  drivers/vhost/scsi.c  |    2 +-
>  drivers/vhost/test.c  |    2 +-
>  drivers/vhost/vhost.c |   49 +++++++++++++++++++++++++++++++++++++------------
>  drivers/vhost/vhost.h |    2 +-
>  5 files changed, 41 insertions(+), 16 deletions(-)
```
