]> xenbits.xensource.com Git - qemu-xen-unstable.git/commit
wm8750: Fix calculation of number of array elements
authorStefan Weil <sw@weilnetz.de>
Mon, 9 Jan 2012 18:32:04 +0000 (19:32 +0100)
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>
Tue, 10 Jan 2012 17:47:06 +0000 (18:47 +0100)
commit9841aee16f1e68f5a9063589c898c40b44473add
tree932f157c87f4763c689dea622bf12a647afadd0a
parentc7c530cd3e23219a9be10323ba7876f68d54c107
wm8750: Fix calculation of number of array elements

Coverity says that the division by sizeof(*s->rate) might be wrong.
I think that coverity is right.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
hw/wm8750.c