From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 284EBC433EF for ; Tue, 31 May 2022 14:52:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345340AbiEaOwT (ORCPT ); Tue, 31 May 2022 10:52:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230302AbiEaOwR (ORCPT ); Tue, 31 May 2022 10:52:17 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDDEBDED2 for ; Tue, 31 May 2022 07:52:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654008736; x=1685544736; h=date:from:to:cc:subject:message-id:mime-version; bh=BtbQmZDkCquEDIfsWj73N9gWNM/A1shVRZ9gerMwOnk=; b=WZvmToNf5jhaV9cDb7NZI6YRjoSf81TMr7dAcdMWapE15VibV3Cxs/Lz N6oU9lx0dHqSAITxwirpcDEK+n70EAcVVbXT/vP0r7MBlvDpQqH2wOZL1 w7HVLLWvOdelmD0soq13ge25htVkGYrx72EgaG8AbtSXcjvcWWW0V0iz0 GbCRp+LLv686hG7U7ponD3ImCrP5M0KINVaymVTU0J4SiJ6MA89K+HzIp j8auKQQRCuj78MdKJSfHyZIsdswOAkYUU1Y39iWQf8kMz/c+PqPZgQ/4a EtUgubUsE0xuJXqlQ2vALTlhimq9+OXaOirfqk9dSMLAe18eLckXlXeus w==; X-IronPort-AV: E=McAfee;i="6400,9594,10364"; a="255145691" X-IronPort-AV: E=Sophos;i="5.91,265,1647327600"; d="scan'208";a="255145691" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2022 07:52:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,265,1647327600"; d="scan'208";a="755058955" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 31 May 2022 07:52:15 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nw3EE-0002nK-LT; Tue, 31 May 2022 14:52:14 +0000 Date: Tue, 31 May 2022 22:51:52 +0800 From: kernel test robot To: Linus Walleij Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: [arm-integrator:kernel-in-vmalloc-v5.18-rc1 18/18] arch/arm64/include/asm/memory.h:311:16: error: implicit declaration of function 'PHYS_PFN' Message-ID: <202205312239.YsC9Dh2Y-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git kernel-in-vmalloc-v5.18-rc1 head: a71d4962de17d9a95418e25f1f98e66ba910105a commit: a71d4962de17d9a95418e25f1f98e66ba910105a [18/18] arm64: memory: Make virt_to_pfn() a static inline config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20220531/202205312239.YsC9Dh2Y-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git/commit/?id=a71d4962de17d9a95418e25f1f98e66ba910105a git remote add arm-integrator https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git git fetch --no-tags arm-integrator kernel-in-vmalloc-v5.18-rc1 git checkout a71d4962de17d9a95418e25f1f98e66ba910105a # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm64 prepare If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from arch/arm64/include/asm/thread_info.h:17, from include/linux/thread_info.h:60, from arch/arm64/include/asm/preempt.h:6, from include/linux/preempt.h:78, from include/linux/smp.h:110, from include/linux/lockdep.h:14, from include/linux/mutex.h:17, from include/linux/kernfs.h:11, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/of.h:17, from include/linux/irqdomain.h:35, from include/linux/acpi.h:13, from include/acpi/apei.h:9, from include/acpi/ghes.h:5, from include/linux/arm_sdei.h:8, from arch/arm64/kernel/asm-offsets.c:10: arch/arm64/include/asm/memory.h: In function 'virt_to_pfn': >> arch/arm64/include/asm/memory.h:311:16: error: implicit declaration of function 'PHYS_PFN' [-Werror=implicit-function-declaration] 311 | return PHYS_PFN(virt_to_phys(p)); | ^~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:120: arch/arm64/kernel/asm-offsets.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1194: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:219: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +/PHYS_PFN +311 arch/arm64/include/asm/memory.h 308 309 static inline unsigned long virt_to_pfn(const void *p) 310 { > 311 return PHYS_PFN(virt_to_phys(p)); 312 } 313 -- 0-DAY CI Kernel Test Service https://01.org/lkp