diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2012-04-01 11:39:43 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-04-11 13:19:32 +0300 |
commit | fbbaf9ae88286f18b2ab32fb4174ebdbdc1d5919 (patch) | |
tree | 7ec7b5b2c887664368b932469e8f030983042cc0 /hw/vhost_net.c | |
parent | e314672a8a95f5dc98534f0682fce50fb83dbc5c (diff) |
vhost: readd assert statement
It's clear from the surrounding code that
start < end so it's enough to assert end < log_size.
However, it's better to make this explicit in case
we refactor the code again.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/vhost_net.c')
0 files changed, 0 insertions, 0 deletions