On Wed, 29 Oct 2014 09:38:43 +0100
Cédric Le Goater wrote:
> This patch adds a few helper routines around get_user and put_user
> to ease byteswapping.
>
> Signed-off-by: Cédric Le Goater
> ---
>
> I am not sure these routines belong to this file. There is room for
> improvement to remove the
This patch adds a few helper routines around get_user and put_user
to ease byteswapping.
Signed-off-by: Cédric Le Goater
---
I am not sure these routines belong to this file. There is room for
improvement to remove the ugly switch (sizeof(*(ptr))). Please
comment !
drivers/vhost/vhost.c |