linux-next: build warning after merge of the char-misc tree
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")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the char-misc tree, yesterday's linux-next build (i386 defconfig) produced this warning:
Quoted 8 lines
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 inlinehyperv_cleanup(void){}^Introduced by commit
2e252fbf777d("x86/hyper-v: include hyperv/ only whenCONFIG_HYPERVis 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
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the char-misc tree, yesterday's linux-next build (i386 defconfig) produced this warning:
Quoted 8 lines
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 inlinehyperv_cleanup(void){}^Introduced by commit
2e252fbf777d("x86/hyper-v: include hyperv/ only whenCONFIG_HYPERVis set")
Now reverted from my tree, thanks.
greg k-h
Quoted 26 lines
-----Original Message-----
From: Greg KH [mailto:[email protected]]
Sent: Wednesday, July 19, 2017 10:13 PM
To: Stephen Rothwell <[email protected]>
Cc: Arnd Bergmann <[email protected]>; Linux-Next Mailing List <linux- [email protected]>; Linux Kernel Mailing List <linux- [email protected]>; Vitaly Kuznetsov <[email protected]>; KY Srinivasan <[email protected]>; Andy Shevchenko <[email protected]>
Subject: Re: linux-next: build warning after merge of the char-misc treeQuoted 6 lines · Stephen Rothwell
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:Quoted 1 line
/home/sfr/next/next/arch/x86/include/asm/mshyperv.h:181:15: warning:return type defaults to 'int' [-Wreturn-type]
Quoted 3 lines
static inline
hyperv_cleanup(void){}^
Quoted 6 lines
Quoted 3 lines
Introduced by commit
2e252fbf777d("x86/hyper-v: include hyperv/ only whenCONFIG_HYPERVis 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
Quoted 7 lines
All of these gcc-7 warnings are keeping me from seeing the "real" problems now :(
thanks,
greg k-h