Re: linux-next: build warning after merge of the char-misc tree

From: Greg KH
Date: Thu Jul 20 2017 - 01:13:36 EST


On Thu, Jul 20, 2017 at 02:12:03PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the char-misc tree, yesterday's linux-next build (i386
> defconfig) produced this warning:
>
> In file included from /home/sfr/next/next/arch/x86/entry/vdso/vma.c:25:0:
> /home/sfr/next/next/arch/x86/include/asm/mshyperv.h:181:15: warning: return type defaults to 'int' [-Wreturn-type]
> static inline hyperv_cleanup(void) {}
> ^
>
> Introduced by commit
>
> 2e252fbf777d ("x86/hyper-v: include hyperv/ only when CONFIG_HYPERV is set")

Ugh, KY, can you send me a fix for this?

All of these gcc-7 warnings are keeping me from seeing the "real"
problems now :(

thanks,

greg k-h