Re: [Qemu-devel] [PATCH v2] virtio-input: add parenthesis to const_le{16, 32}

2016-04-12 Thread Eric Blake
On 04/11/2016 11:51 PM, Gerd Hoffmann wrote: > "_x" must be "(_x)" otherwise things fail if you pass in expressions. > > Signed-off-by: Gerd Hoffmann > --- > include/hw/virtio/virtio-input.h | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) Reviewed-by: Eric Blake -- Eric

[Qemu-devel] [PATCH v2] virtio-input: add parenthesis to const_le{16, 32}

2016-04-11 Thread Gerd Hoffmann
"_x" must be "(_x)" otherwise things fail if you pass in expressions. Signed-off-by: Gerd Hoffmann --- include/hw/virtio/virtio-input.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/hw/virtio/virtio-input.h b/include/hw/virtio/virtio-input.h index af1c2