From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933921AbdGTFNd (ORCPT ); Thu, 20 Jul 2017 01:13:33 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48155 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932563AbdGTFNc (ORCPT ); Thu, 20 Jul 2017 01:13:32 -0400 X-ME-Sender: X-Sasl-enc: DH76QypShErbq2sRMZl/aaQicSVgg3LTQTez6PPHKOCG 1500527611 Date: Thu, 20 Jul 2017 07:13:24 +0200 From: Greg KH To: Stephen Rothwell Cc: Arnd Bergmann , Linux-Next Mailing List , Linux Kernel Mailing List , Vitaly Kuznetsov , "K. Y. Srinivasan" , Andy Shevchenko Subject: Re: linux-next: build warning after merge of the char-misc tree Message-ID: <20170720051324.GA8168@kroah.com> References: <20170720141203.53dff686@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170720141203.53dff686@canb.auug.org.au> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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