tag | 07241898ef8e1089ae48de51743858db7768c069 | |
---|---|---|
tagger | Amit Shah <amit.shah@redhat.com> | Mon Jan 05 14:03:31 2015 +0530 |
object | a3a292c420d2fec3c07a7ca56fbb064cd57a298a |
Fixes an init-time check for parameter validity
commit | a3a292c420d2fec3c07a7ca56fbb064cd57a298a | [log] [tgz] |
---|---|---|
author | Amit Shah <amit.shah@redhat.com> | Thu Dec 11 13:17:42 2014 +0530 |
committer | Amit Shah <amit.shah@redhat.com> | Mon Jan 05 14:02:47 2015 +0530 |
tree | ab437da7616e45edd8918430594262cce794575e | |
parent | ab0302ee764fd702465aef6d88612cdff4302809 [diff] |
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] 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>