virtio: fix BAD_RING, START_US and END_USE macros
authorRoel Kluin <roel.kluin@gmail.com>
Thu, 22 Jan 2009 15:42:57 +0000 (16:42 +0100)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 30 Mar 2009 11:25:22 +0000 (21:55 +1030)
commit3a35ce7dcefe9e80a00603a195269fbaf6e7d901
tree23d814e318c36d7a9fe601be2f535da45bceec56
parent0d34fb8e93ceba7b6dad0062dbb4a0813bacd75b
virtio: fix BAD_RING, START_US and END_USE macros

Impact: cleanup

fix BAD_RING, START_US and END_USE macros

When these macros aren't called with a variable named vq as first
argument, this would result in a build failure.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_ring.c