> -----Original Message----- > From: Greg KH [mailto:g...@kroah.com] > Sent: Wednesday, July 19, 2017 10:13 PM > To: Stephen Rothwell <s...@canb.auug.org.au> > Cc: Arnd Bergmann <a...@arndb.de>; Linux-Next Mailing List <linux- > n...@vger.kernel.org>; Linux Kernel Mailing List <linux- > ker...@vger.kernel.org>; Vitaly Kuznetsov <vkuzn...@redhat.com>; KY > Srinivasan <k...@microsoft.com>; Andy Shevchenko > <andy.shevche...@gmail.com> > Subject: Re: linux-next: build warning after merge of the char-misc tree > > 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?
I just saw that you reverted the patch. We will fix this up and resend. Thanks, K. Y > > All of these gcc-7 warnings are keeping me from seeing the "real" > problems now :( > > thanks, > > greg k-h