projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d645b0
)
xen: Fixed assignment error in if statement
author
Lisa Nguyen
<lisa@xenapiadmin.com>
Thu, 16 May 2013 05:59:40 +0000
(22:59 -0700)
committer
Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com>
Mon, 20 May 2013 18:14:48 +0000
(14:14 -0400)
Fixed assignment error in if statement in balloon.c
Signed-off-by: Lisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/balloon.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/xen/balloon.c
b/drivers/xen/balloon.c
index a56776dbe0958ece67b1c12a4a13b8be5bdb023c..930fb68179012355952c20d759111a6755b3acbe 100644
(file)
--- a/
drivers/xen/balloon.c
+++ b/
drivers/xen/balloon.c
@@
-407,7
+407,8
@@
static enum bp_state decrease_reservation(unsigned long nr_pages, gfp_t gfp)
nr_pages = ARRAY_SIZE(frame_list);
for (i = 0; i < nr_pages; i++) {
- if ((page = alloc_page(gfp)) == NULL) {
+ page = alloc_page(gfp);
+ if (page == NULL) {
nr_pages = i;
state = BP_EAGAIN;
break;