Re: [PATCH v2 01/24] virtio_balloon: fix sparse warning

From: Cornelia Huck
Date: Tue Aug 04 2020 - 10:17:38 EST


On Mon, 3 Aug 2020 16:58:38 -0400
"Michael S. Tsirkin" <mst@xxxxxxxxxx> wrote:

> balloon uses virtio32_to_cpu instead of cpu_to_virtio32
> to convert a native endian number to virtio.
> No practical difference but makes sparse warn.
> Fix it up.
>
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
> ---
> drivers/virtio/virtio_balloon.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>