xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] xen:include:asm-x86:e820: just covert nr_map with unsigned int
@ 2014-08-08  7:00 Tiejun Chen
  2014-08-08  7:15 ` Jan Beulich
  0 siblings, 1 reply; 9+ messages in thread
From: Tiejun Chen @ 2014-08-08  7:00 UTC (permalink / raw)
  To: JBeulich, keir; +Cc: xen-devel

This shouldn't ever be negative.

Signed-off-by: Tiejun Chen <tiejun.chen@intel.com>
---
 xen/include/asm-x86/e820.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/include/asm-x86/e820.h b/xen/include/asm-x86/e820.h
index 8418fc4..0bd5c2f 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];
 };
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-08-08  9:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-08  7:00 [PATCH 1/1] xen:include:asm-x86:e820: just covert nr_map with unsigned int Tiejun Chen
2014-08-08  7:15 ` Jan Beulich
2014-08-08  7:26   ` Chen, Tiejun
2014-08-08  7:38     ` Jan Beulich
2014-08-08  7:54       ` Chen, Tiejun
2014-08-08  8:49         ` Jan Beulich
2014-08-08  9:06           ` Chen, Tiejun
2014-08-08  9:18             ` Jan Beulich
2014-08-08  9:31               ` Chen, Tiejun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).