From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f72.google.com (mail-wm0-f72.google.com [74.125.82.72]) by kanga.kvack.org (Postfix) with ESMTP id 2D72C6B007E for ; Sat, 4 Jun 2016 06:45:23 -0400 (EDT) Received: by mail-wm0-f72.google.com with SMTP id e3so9304738wme.3 for ; Sat, 04 Jun 2016 03:45:23 -0700 (PDT) Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk. [2001:4d48:ad52:3201:214:fdff:fe10:1be6]) by mx.google.com with ESMTPS id a139si5393432wme.4.2016.06.04.03.45.21 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 04 Jun 2016 03:45:21 -0700 (PDT) Date: Sat, 4 Jun 2016 11:45:12 +0100 From: Russell King - ARM Linux Subject: Re: [mmotm:master 152/178] include/asm-generic/io.h:732:22: error: conflicting types for 'phys_to_virt' Message-ID: <20160604104511.GH1041@n2100.armlinux.org.uk> References: <201606041110.Hntk2cUb%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201606041110.Hntk2cUb%fengguang.wu@intel.com> Sender: owner-linux-mm@kvack.org List-ID: To: kbuild test robot Cc: kbuild-all@01.org, Johannes Weiner , Andrew Morton , Linux Memory Management List On Sat, Jun 04, 2016 at 11:03:13AM +0800, kbuild test robot wrote: > tree: git://git.cmpxchg.org/linux-mmotm.git master > head: 2e0066ec9585a5074c8040d639c3c669eb4e905f > commit: 60c8a7d9e20b888121b304895074928bf9b69029 [152/178] kexec: allow architectures to override boot mapping > config: s390-default_defconfig (attached as .config) > compiler: s390x-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205 > reproduce: > wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 60c8a7d9e20b888121b304895074928bf9b69029 > # save the attached .config to linux build tree > make.cross ARCH=s390 > > All errors (new ones prefixed by >>): > > In file included from arch/s390/kernel/machine_kexec.c:11:0: > include/linux/kexec.h: In function 'boot_phys_to_virt': > include/linux/kexec.h:356:9: error: implicit declaration of function 'phys_to_virt' [-Werror=implicit-function-declaration] > return phys_to_virt(boot_phys_to_phys(entry)); > ^ > include/linux/kexec.h:356:9: warning: return makes pointer from integer without a cast [-Wint-conversion] > In file included from arch/s390/include/asm/io.h:78:0, > from include/linux/bio.h:30, > from include/linux/writeback.h:192, > from include/linux/memcontrol.h:30, > from include/linux/swap.h:8, > from include/linux/suspend.h:4, > from arch/s390/kernel/machine_kexec.c:16: > include/asm-generic/io.h: At top level: > >> include/asm-generic/io.h:732:22: error: conflicting types for 'phys_to_virt' > #define phys_to_virt phys_to_virt Hmm. I guess we need to include linux/io.h into linux/kexec.h. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org