Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1692397 > unrolled thread

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

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-07-20 06:20 +0200
Last post2017-07-20 11:20 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: build warning after merge of the char-misc tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-07-20 06:20 +0200
    Re: linux-next: build warning after merge of the char-misc tree Greg KH <greg@kroah.com> - 2017-07-20 07:20 +0200
      RE: linux-next: build warning after merge of the char-misc tree KY Srinivasan <kys@microsoft.com> - 2017-07-20 17:00 +0200
    Re: linux-next: build warning after merge of the char-misc tree Greg KH <greg@kroah.com> - 2017-07-20 11:20 +0200

#1692397 — linux-next: build warning after merge of the char-misc tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-07-20 06:20 +0200
Subjectlinux-next: build warning after merge of the char-misc tree
Message-ID<u5b6q-1Y8-11@gated-at.bofh.it>
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")

-- 
Cheers,
Stephen Rothwell

[toc] | [next] | [standalone]


#1692435

FromGreg KH <greg@kroah.com>
Date2017-07-20 07:20 +0200
Message-ID<u5c2u-2DM-5@gated-at.bofh.it>
In reply to#1692397
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

[toc] | [prev] | [next] | [standalone]


#1693007

FromKY Srinivasan <kys@microsoft.com>
Date2017-07-20 17:00 +0200
Message-ID<u5l5O-pl-33@gated-at.bofh.it>
In reply to#1692435

> -----Original Message-----
> From: Greg KH [mailto:greg@kroah.com]
> Sent: Wednesday, July 19, 2017 10:13 PM
> To: Stephen Rothwell <sfr@canb.auug.org.au>
> Cc: Arnd Bergmann <arnd@arndb.de>; Linux-Next Mailing List <linux-
> next@vger.kernel.org>; Linux Kernel Mailing List <linux-
> kernel@vger.kernel.org>; Vitaly Kuznetsov <vkuznets@redhat.com>; KY
> Srinivasan <kys@microsoft.com>; Andy Shevchenko
> <andy.shevchenko@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

[toc] | [prev] | [next] | [standalone]


#1692664

FromGreg KH <greg@kroah.com>
Date2017-07-20 11:20 +0200
Message-ID<u5fMJ-5hG-3@gated-at.bofh.it>
In reply to#1692397
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")

Now reverted from my tree, thanks.

greg k-h

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web