Re: Build regressions/improvements in v4.6-rc7

From: Paul Bolle
Date: Mon May 09 2016 - 08:48:34 EST


On ma, 2016-05-09 at 10:24 +0200, Geert Uytterhoeven wrote:
> + /home/kisskb/slave/src/drivers/xen/balloon.c: warning: 'release_memory_resource' declared 'static' but never defined [-Wunused-function]: => 154:13

This can be triggered by building balloon.o while
CONFIG_XEN_BALLOON_MEMORY_HOTPLUG is not set.

I guess commit dfd74a1edfab ("xen/balloon: Fix crash when ballooning on
x86 32 bit PAE") should have put this declaration of
release_memory_resource inside an "#ifdef
CONFIG_XEN_BALLOON_MEMORY_HOTPLUG" preprocessor block.

Thanks,


Paul Bolle