projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ded2100
)
x86: make struct e820map's nr_map unsigned
author
Tiejun Chen
<tiejun.chen@intel.com>
Mon, 11 Aug 2014 13:10:07 +0000
(15:10 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Mon, 11 Aug 2014 13:10:07 +0000
(15:10 +0200)
nr_map is used to represent the amount of e820entry in e820 so this is
never negative.
Signed-off-by: Tiejun Chen <tiejun.chen@intel.com>
xen/include/asm-x86/e820.h
patch
|
blob
|
history
diff --git
a/xen/include/asm-x86/e820.h
b/xen/include/asm-x86/e820.h
index 08b413d566c437750053549634cf0954c53f3ba1..71a804c21624d6f295d5285fae43d0a7fa27bd73 100644
(file)
--- 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];
};