virtio: fix Coverity unsigned warnings
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 28 Aug 2015 16:23:38 +0000 (09:23 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 21 Oct 2015 14:14:02 +0000 (16:14 +0200)
commit1e7bd2380f661d7b4024708371f8340a6e55fd8d
treee9e51c42472ef760727edea71a1dc33699637d72
parent954ea11540b63f6e902a3d40fbea1f08c8f24176
virtio: fix Coverity unsigned warnings

There are some places in virtio driver where uint16_t or int are used
where it would be safer to use unsigned.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/virtio/virtio_ethdev.c
drivers/net/virtio/virtio_ring.h
drivers/net/virtio/virtio_rxtx.c