]> Git Repo - qemu.git/commit - hw/virtio/virtio-rng.c
virtio-rng: fix check for period_ms validity
authorAmit Shah <[email protected]>
Thu, 11 Dec 2014 07:47:42 +0000 (13:17 +0530)
committerAmit Shah <[email protected]>
Mon, 5 Jan 2015 08:32:47 +0000 (14:02 +0530)
commita3a292c420d2fec3c07a7ca56fbb064cd57a298a
treeab437da7616e45edd8918430594262cce794575e
parentab0302ee764fd702465aef6d88612cdff4302809
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 <[email protected]>
Reviewed-by: Amos Kong <[email protected]>
Signed-off-by: Amit Shah <[email protected]>
hw/virtio/virtio-rng.c
This page took 0.024981 seconds and 4 git commands to generate.