Please apply the following compile patch to origin/xen/hugepage-balloon branch. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2009-Dec-22 18:52 UTC
[Xen-devel] [PATCH] [balloon] Fix compiler warning.
drivers/xen/balloon.c: In function ‘decrease_reservation’: drivers/xen/balloon.c:300: warning: ‘page’ may be used uninitialized in this function Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> --- drivers/xen/balloon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c index 9049806..13101c6 100644 --- a/drivers/xen/balloon.c +++ b/drivers/xen/balloon.c @@ -297,7 +297,7 @@ static int increase_reservation(unsigned long nr_pages) static int decrease_reservation(unsigned long nr_pages) { unsigned long pfn, lpfn, mfn, i, j, flags; - struct page *page; + struct page *page = NULL; int need_sleep = 0; int discontig, discontig_free; int ret; -- 1.6.2.5 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel