From: Tiejun Chen <tiejun.chen@intel.com>
To: JBeulich@suse.com, keir@xen.org
Cc: xen-devel@lists.xen.org
Subject: [PATCH 1/1] xen:include:asm-x86:e820: just covert nr_map with unsigned int
Date: Fri, 8 Aug 2014 15:00:04 +0800 [thread overview]
Message-ID: <1407481204-28290-1-git-send-email-tiejun.chen@intel.com> (raw)
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
next reply other threads:[~2014-08-08 7:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-08 7:00 Tiejun Chen [this message]
2014-08-08 7:15 ` [PATCH 1/1] xen:include:asm-x86:e820: just covert nr_map with unsigned int 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1407481204-28290-1-git-send-email-tiejun.chen@intel.com \
--to=tiejun.chen@intel.com \
--cc=JBeulich@suse.com \
--cc=keir@xen.org \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).