git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Drivers:net:wireless:ti:wl1251: Fixed Sparse invalid assignment warning
[pandora-kernel.git]
/
drivers
/
xen
/
gntalloc.c
diff --git
a/drivers/xen/gntalloc.c
b/drivers/xen/gntalloc.c
index
23c60cf
..
e1c4c6e
100644
(file)
--- a/
drivers/xen/gntalloc.c
+++ b/
drivers/xen/gntalloc.c
@@
-135,7
+135,7
@@
static int add_grefs(struct ioctl_gntalloc_alloc_gref *op,
/* Grant foreign access to the page. */
gref->gref_id = gnttab_grant_foreign_access(op->domid,
pfn_to_mfn(page_to_pfn(gref->page)), readonly);
- if (gref->gref_id < 0) {
+ if (
(int)
gref->gref_id < 0) {
rc = gref->gref_id;
goto undo;
}