[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] x86: make struct e820map's nr_map unsigned
commit ca063d4480e618834f142817032a1434077554f5 Author: Tiejun Chen <tiejun.chen@xxxxxxxxx> AuthorDate: Mon Aug 11 15:10:07 2014 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Mon Aug 11 15:10:07 2014 +0200 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 <tiejun.chen@xxxxxxxxx> --- xen/include/asm-x86/e820.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xen/include/asm-x86/e820.h b/xen/include/asm-x86/e820.h index 08b413d..71a804c 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]; }; -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |