From: Tiejun Chen Date: Mon, 11 Aug 2014 13:10:07 +0000 (+0200) Subject: x86: make struct e820map's nr_map unsigned X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4538 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ca063d4480e618834f142817032a1434077554f5;p=xen.git x86: make struct e820map's nr_map unsigned nr_map is used to represent the amount of e820entry in e820 so this is never negative. Signed-off-by: Tiejun Chen --- diff --git a/xen/include/asm-x86/e820.h b/xen/include/asm-x86/e820.h index 08b413d566..71a804c216 100644 --- a/xen/include/asm-x86/e820.h +++ b/xen/include/asm-x86/e820.h @@ -19,7 +19,7 @@ struct __packed e820entry { #define E820MAX 128 struct e820map { - int nr_map; + unsigned int nr_map; struct e820entry map[E820MAX]; };