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 X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46ACCC4338F for ; Mon, 26 Jul 2021 21:20:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A85E60F93 for ; Mon, 26 Jul 2021 21:20:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233502AbhGZUj6 (ORCPT ); Mon, 26 Jul 2021 16:39:58 -0400 Received: from mga01.intel.com ([192.55.52.88]:19593 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232788AbhGZUjx (ORCPT ); Mon, 26 Jul 2021 16:39:53 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10057"; a="234180441" X-IronPort-AV: E=Sophos;i="5.84,272,1620716400"; d="scan'208";a="234180441" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2021 14:20:21 -0700 X-IronPort-AV: E=Sophos;i="5.84,272,1620716400"; d="scan'208";a="464063759" Received: from tchuang-mobl.amr.corp.intel.com (HELO skuppusw-mobl5.amr.corp.intel.com) ([10.212.3.19]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2021 14:20:20 -0700 Subject: Re: [intel-tdx:guest 37/107] lib/pci_iomap.c:30:9: error: implicit declaration of function 'ioremap_shared'; did you mean 'map_ioremap_shared'? To: kernel test robot , Andi Kleen Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org References: <202107270426.vfFGcr89-lkp@intel.com> From: "Kuppuswamy, Sathyanarayanan" Message-ID: <75d49ee6-5731-a877-a0d4-5148fc0c2418@linux.intel.com> Date: Mon, 26 Jul 2021 14:20:18 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <202107270426.vfFGcr89-lkp@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andi, Any comments on this issue? it looks like ioremap_shared is not redefined as ioremp in some archs. On 7/26/21 1:30 PM, kernel test robot wrote: > tree: https://github.com/intel/tdx.git guest > head: a81fb28d2e12ec7ee9667fbd8b08c7128d352f10 > commit: 9627c7de2c9fd39517b723ef9759e9579f25800c [37/107] pci: Add pci_iomap_shared{,_range} > config: parisc-randconfig-r026-20210726 (attached as .config) > compiler: hppa64-linux-gcc (GCC) 10.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://github.com/intel/tdx/commit/9627c7de2c9fd39517b723ef9759e9579f25800c > git remote add intel-tdx https://github.com/intel/tdx.git > git fetch --no-tags intel-tdx guest > git checkout 9627c7de2c9fd39517b723ef9759e9579f25800c > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=parisc > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All error/warnings (new ones prefixed by >>): > > lib/pci_iomap.c: In function 'map_ioremap_shared': >>> lib/pci_iomap.c:30:9: error: implicit declaration of function 'ioremap_shared'; did you mean 'map_ioremap_shared'? [-Werror=implicit-function-declaration] > 30 | return ioremap_shared(addr, size); > | ^~~~~~~~~~~~~~ > | map_ioremap_shared >>> lib/pci_iomap.c:30:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] > 30 | return ioremap_shared(addr, size); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > cc1: some warnings being treated as errors > > > vim +30 lib/pci_iomap.c > > 27 > 28 static void __iomem *map_ioremap_shared(phys_addr_t addr, size_t size) > 29 { > > 30 return ioremap_shared(addr, size); > 31 } > 32 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org > -- Sathyanarayanan Kuppuswamy Linux Kernel Developer