kernel-ark/drivers/vhost
Michael S. Tsirkin 0174b0c30a vhost: fix signed/unsigned comparison
To detect that a sequence number is done, we are doing math on unsigned
integers so the result is unsigned too. Not what was intended for the <=
comparison. The result is user stuck forever in flush call.
Convert to int to fix this.

Further, get rid of ({}) to make code clearer.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2011-01-10 10:03:39 +02:00
..
Kconfig net/macvtap: add vhost support 2010-02-18 14:08:38 -08:00
Makefile
net.c Merge branch 'vhost-net-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost 2010-12-14 11:33:23 -08:00
test.c vhost test module 2010-12-09 16:00:21 +02:00
test.h vhost test module 2010-12-09 16:00:21 +02:00
vhost.c vhost: fix signed/unsigned comparison 2011-01-10 10:03:39 +02:00
vhost.h vhost: fix typos in comment 2010-12-09 15:39:15 +02:00