]> xenbits.xensource.com Git - xen.git/commit
APEI: pull a signedness check ahead for Coverity's sake
authorJan Beulich <jbeulich@suse.com>
Fri, 17 Jun 2016 08:22:22 +0000 (10:22 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 17 Jun 2016 08:22:22 +0000 (10:22 +0200)
commit0961444c07f57a43fed6788e2df90e43b51cdb06
tree358c99efe15ec7b037e26f4413922af2f87b871a
parent759b9618b8a22ddd87d01c0bff5366814b17eea7
APEI: pull a signedness check ahead for Coverity's sake

On 64-bit architectures (which is all we care about right now in ACPI
code), the value coming from a __u32 field makes "len" positive anyway,
but since from an abstract pov the tool is right, let's just re-order
things.

Coverity ID: 1204965

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/drivers/acpi/apei/erst.c