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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85E2FC10F04 for ; Tue, 5 Dec 2023 12:51:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E805A6B0074; Tue, 5 Dec 2023 07:51:36 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E3AC26B007B; Tue, 5 Dec 2023 07:51:36 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CF8F56B007E; Tue, 5 Dec 2023 07:51:36 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id BEB0D6B0074 for ; Tue, 5 Dec 2023 07:51:36 -0500 (EST) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 919FA1C0319 for ; Tue, 5 Dec 2023 12:51:36 +0000 (UTC) X-FDA: 81532750992.10.1DF569C Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by imf03.hostedemail.com (Postfix) with ESMTP id E8AC120002 for ; Tue, 5 Dec 2023 12:51:33 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=nQqZ1DFK; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 134.134.136.65 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1701780694; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=/xV90Znu69JIfAZ/hlbtOFl0Hb9CE+SNckxuglw6Zx8=; b=mXlok8D2OSl0PWa4ToVs5fZBd5e13PCSv9K7w+t+Sz5cbbt7wAA53bbpNpKRpGGUaGIhgC x+G3oy49A78fKfSrfews7ReweGZAthm/LJyTK317PUkG6RKouVHLg5o4Lt2/CUS2ij1M9F aW0x/F6eup0HoDojj/ZAMUJC2prhcmU= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1701780694; a=rsa-sha256; cv=none; b=5aSCPEK1VucYwIhexlfQt2SH8ja3LtGxTvhdX63lNtQlwmdSeRXKY78wk0hvOFKO0idmKy ar8QJTi1qpyN7PJB7sMehUin7tjY1pSzFapoQcc91JYaTYydMW96imkIHfcoGo5fMaNF7Z U6buj/7f9mQrCossaw5XB41RpXGlZbI= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=nQqZ1DFK; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 134.134.136.65 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701780694; x=1733316694; h=date:from:to:cc:subject:message-id:mime-version; bh=w+aBzqibSkgdY20mrJrcQ4VsZLRZr+fU4Br1YGYEix8=; b=nQqZ1DFK1N57Jt+fE0bm9au8ZJJ04CHt57e9vCRuSwxWWzwzDRHVerse nPvaUrzayhQGwTz5gyHiSHGRdWqOnaw217RVQZ8o81w+gW5Eb77QquiIs n67mDtTl3eNQjZMf0yjSE5PrdG3AXmnZdxwj9JYU0uUP6aQlbWjkJI1dh gKVWlrLqEjN10eQfbA4VnMgryEJiuydSGmbOscTMHLBaLo+oWVyq06gdP XZNzoT+9yfOJPrrjHyBG0HT+uuOsbFoSyTApclPszh+iomNlWBCNm8uHv GhLf1zkQs4swszwfLWkWVaT+16bYnDpdLpK4EQ1gp35BLd5c3eYQQQOke A==; X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="397785148" X-IronPort-AV: E=Sophos;i="6.04,252,1695711600"; d="scan'208";a="397785148" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 04:51:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="770903774" X-IronPort-AV: E=Sophos;i="6.04,252,1695711600"; d="scan'208";a="770903774" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orsmga002.jf.intel.com with ESMTP; 05 Dec 2023 04:51:30 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rAUtc-0008zH-0O; Tue, 05 Dec 2023 12:51:28 +0000 Date: Tue, 5 Dec 2023 20:51:23 +0800 From: kernel test robot To: Arnd Bergmann Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Andrew Morton Subject: [linux-next:master 4620/4884] include/linux/io.h:92:16: error: implicit declaration of function 'ioremap_np'; did you mean 'ioremap_uc'? Message-ID: <202312052001.PB9V8WNH-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: E8AC120002 X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: t44rhgwinkm53nuattgyqoognsjh6tn7 X-HE-Tag: 1701780693-109665 X-HE-Meta: U2FsdGVkX1/qdSQSalc76SZ1NojZO6P75mIowzwHX+kiWQNSNbXB0gpD2gLsjWFro3LFjul+FSaP16m75kT5NF+hQfmmZAf6EUqhePUXqcdvFcSG2tLABFNxU4u/OxjPp5t0kFhMI3e+quKpIKtTvalqPd2ktbpUGwRMbZGyeGV7rMXkdCr/tEYnCmW/TuSC0eBreL6CBbOVqnFpYxjG1DIy2K7baTC1S/kixFO/AV7vd0O/MhmQ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97Z8F2PUT1fb5iNxY83eVZz956k54/IYBVMTN1Oc7JbyDwOj7P2ebBFKYLG6MdG9NonThdTOA== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 0f5f12ac05f36f117e793656c3f560625e927f1b commit: 17229c19e5bf0b5dc8b68dc4ca4e7012e7da4747 [4620/4884] mips: remove extraneous asm-generic/iomap.h include config: mips-xway_defconfig (https://download.01.org/0day-ci/archive/20231205/202312052001.PB9V8WNH-lkp@intel.com/config) compiler: mips-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231205/202312052001.PB9V8WNH-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202312052001.PB9V8WNH-lkp@intel.com/ Note: the linux-next/master HEAD 0f5f12ac05f36f117e793656c3f560625e927f1b builds fine. It may have been fixed somewhere. All error/warnings (new ones prefixed by >>): In file included from arch/mips/include/asm/mips-cps.h:11, from arch/mips/include/asm/smp-ops.h:16, from arch/mips/include/asm/smp.h:21, from include/linux/smp.h:113, from arch/mips/include/asm/cpu-type.h:12, from arch/mips/include/asm/timex.h:19, from include/linux/timex.h:67, from include/linux/time32.h:13, from include/linux/time.h:60, from include/linux/compat.h:10, from arch/mips/kernel/asm-offsets.c:12: include/linux/io.h: In function 'pci_remap_cfgspace': >> include/linux/io.h:92:16: error: implicit declaration of function 'ioremap_np'; did you mean 'ioremap_uc'? [-Werror=implicit-function-declaration] 92 | return ioremap_np(offset, size) ?: ioremap(offset, size); | ^~~~~~~~~~ | ioremap_uc >> include/linux/io.h:92:42: warning: pointer/integer type mismatch in conditional expression 92 | return ioremap_np(offset, size) ?: ioremap(offset, size); | ^ cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:116: arch/mips/kernel/asm-offsets.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1191: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:234: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:234: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +92 include/linux/io.h 7d3dcf26a6559fa Christoph Hellwig 2015-08-10 70 4d312ac057da57b Arnd Bergmann 2023-05-16 71 /* architectures can override this */ 4d312ac057da57b Arnd Bergmann 2023-05-16 72 pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr, 4d312ac057da57b Arnd Bergmann 2023-05-16 73 unsigned long size, pgprot_t prot); 4d312ac057da57b Arnd Bergmann 2023-05-16 74 4d312ac057da57b Arnd Bergmann 2023-05-16 75 cf9ea8ca4a0bea7 Lorenzo Pieralisi 2017-04-19 76 #ifdef CONFIG_PCI cf9ea8ca4a0bea7 Lorenzo Pieralisi 2017-04-19 77 /* cf9ea8ca4a0bea7 Lorenzo Pieralisi 2017-04-19 78 * The PCI specifications (Rev 3.0, 3.2.5 "Transaction Ordering and b10eb2d50911f98 Hector Martin 2021-03-25 79 * Posting") mandate non-posted configuration transactions. This default b10eb2d50911f98 Hector Martin 2021-03-25 80 * implementation attempts to use the ioremap_np() API to provide this b10eb2d50911f98 Hector Martin 2021-03-25 81 * on arches that support it, and falls back to ioremap() on those that b10eb2d50911f98 Hector Martin 2021-03-25 82 * don't. Overriding this function is deprecated; arches that properly b10eb2d50911f98 Hector Martin 2021-03-25 83 * support non-posted accesses should implement ioremap_np() instead, which b10eb2d50911f98 Hector Martin 2021-03-25 84 * this default implementation can then use to return mappings compliant with b10eb2d50911f98 Hector Martin 2021-03-25 85 * the PCI specification. cf9ea8ca4a0bea7 Lorenzo Pieralisi 2017-04-19 86 */ cf9ea8ca4a0bea7 Lorenzo Pieralisi 2017-04-19 87 #ifndef pci_remap_cfgspace cf9ea8ca4a0bea7 Lorenzo Pieralisi 2017-04-19 88 #define pci_remap_cfgspace pci_remap_cfgspace cf9ea8ca4a0bea7 Lorenzo Pieralisi 2017-04-19 89 static inline void __iomem *pci_remap_cfgspace(phys_addr_t offset, cf9ea8ca4a0bea7 Lorenzo Pieralisi 2017-04-19 90 size_t size) cf9ea8ca4a0bea7 Lorenzo Pieralisi 2017-04-19 91 { b10eb2d50911f98 Hector Martin 2021-03-25 @92 return ioremap_np(offset, size) ?: ioremap(offset, size); cf9ea8ca4a0bea7 Lorenzo Pieralisi 2017-04-19 93 } cf9ea8ca4a0bea7 Lorenzo Pieralisi 2017-04-19 94 #endif cf9ea8ca4a0bea7 Lorenzo Pieralisi 2017-04-19 95 #endif cf9ea8ca4a0bea7 Lorenzo Pieralisi 2017-04-19 96 :::::: The code at line 92 was first introduced by commit :::::: b10eb2d50911f98a8f1cacf00b1b677339593f4c asm-generic/io.h: implement pci_remap_cfgspace using ioremap_np :::::: TO: Hector Martin :::::: CC: Hector Martin -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki