]> xenbits.xensource.com Git - xen.git/commit
compat/memory: fix build with old gcc
authorJan Beulich <jbeulich@suse.com>
Mon, 20 Jan 2014 08:50:20 +0000 (09:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 20 Jan 2014 08:50:20 +0000 (09:50 +0100)
commit407a3c00ffe9b283b2bd7e3ae6aa86a54d51ed92
tree19e9b1b06ae6dc941f37ab073a8600668e475d83
parentebc168f238ab7a729c45032c9663b14844f34656
compat/memory: fix build with old gcc

struct xen_add_to_physmap_batch's size field being uint16_t causes old
compiler versions to warn about the pointless range check done inside
compat_handle_okay().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/common/compat/memory.c