ringtest: test build fix
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 14 Aug 2016 20:44:21 +0000 (23:44 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 15 Aug 2016 02:01:23 +0000 (05:01 +0300)
commit52012619e5a2ca0491426c3712fb9054692d4a3c
tree46a3109fd785119fa1e62a41a4af23127874c67e
parent3b2fbb3f06efe5bd2dfdce2a1db703e23c1a78af
ringtest: test build fix

Recent changes to ptr_ring broke the ringtest
which lacks a likely() stub. Fix it up.

Fixes: 982fb490c298896d15e9323a882f34a57c11ff56
("ptr_ring: support zero length ring")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/ringtest/ptr_ring.c