]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commit
virtio-rng: fix check for period_ms validity qemu-xen-4.6.0-rc3 qemu-xen-4.6.0-rc4
authorAmit Shah <amit.shah@redhat.com>
Thu, 11 Dec 2014 07:47:42 +0000 (13:17 +0530)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 21 Aug 2015 22:19:34 +0000 (22:19 +0000)
commitb05befcbea71a979509ce04f02929969a790c923
treecc8c81d41d12438307c2d6d83202def6128345f9
parent604ad155f685162b18ddb2446ca03ec9fe7901ce
virtio-rng: fix check for period_ms validity

This was reported for this warning:

hw/virtio/virtio-rng.c:150:31: warning: logical not is only applied to
the left hand side of comparison [-Wlogical-not-parentheses]

upstream-commit-id: a3a292c420d2fec3c07a7ca56fbb064cd57a298a
Reported-by: dcb
Suggested-by: dcb
Bug: https://bugs.launchpad.net/qemu/+bug/1393486
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Amos Kong <akong@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/virtio/virtio-rng.c