From: Tiejun Chen <tiejun.chen@intel.com>
To: JBeulich@suse.com, keir@xen.org
Cc: xen-devel@lists.xen.org
Subject: [v2][PATCH 1/1] x86: make struct e820map's nr_map unsigned
Date: Fri, 8 Aug 2014 17:32:29 +0800 [thread overview]
Message-ID: <1407490349-24768-1-git-send-email-tiejun.chen@intel.com> (raw)
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
v2:
* Just refine the patch description.
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 9:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-08 9:32 Tiejun Chen [this message]
2014-08-11 2:52 ` [v2][PATCH 1/1] x86: make struct e820map's nr_map unsigned 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=1407490349-24768-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.