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

From: Ross Lagerwall
Date: Mon May 09 2016 - 09:31:01 EST


On 05/09/2016 01:48 PM, Paul Bolle wrote:
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 for figuring that out - I've sent a patch...

Regards,
--
Ross Lagerwall