mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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>
|
History
|
|
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| net.c | ||
| test.c | ||
| test.h | ||
| vhost.c | ||
| vhost.h | ||