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 A0F44C7115E for ; Thu, 19 Jun 2025 08:03:53 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 326246B008A; Thu, 19 Jun 2025 04:03:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2D7276B0092; Thu, 19 Jun 2025 04:03:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2205C6B0093; Thu, 19 Jun 2025 04:03:53 -0400 (EDT) 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 102676B008A for ; Thu, 19 Jun 2025 04:03:53 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id ADD0F14059D for ; Thu, 19 Jun 2025 08:03:52 +0000 (UTC) X-FDA: 83571411504.23.E25158C Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) by imf07.hostedemail.com (Postfix) with ESMTP id EF28940005 for ; Thu, 19 Jun 2025 08:03:49 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="i/uqWwKZ"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf07.hostedemail.com: domain of lkp@intel.com designates 198.175.65.19 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1750320230; a=rsa-sha256; cv=none; b=1/dxP6DXg/mKnW7RCApeXZY/7NCZa/6srUt4fVUO+78JjikwBXp3T6mblpfAHV4/X1BZxv zTEmIJRv7Qc9t9TtHnYpZMFVLjLYfuiv3FsLQtt87zW3RwGY1yNfhqmhB+ZMvsoAqgylGr O7Vi5VIb1VVtRBG6xv8lqFMvIkpdoEw= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="i/uqWwKZ"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf07.hostedemail.com: domain of lkp@intel.com designates 198.175.65.19 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1750320230; 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=y6hnDNo2bkRw8vEZVOhKOVpofwYOJ10MRgwMM78MWMo=; b=DfxY9gHi8otVPuKrpRuGpm8tFLUtmwvFCa977U4aPbudGFLu6R4MQLnswU4Ns3/sAWvQ4q SVnzExyLPIK+iRtYzAEOf3YjjSTvlf4AX6Mw0L9djoDmdteSxhuhRcv7KpTiGJ2TfUWBEh MkKnJBl4/YZTYjJ7C9z2CjYOvpaRIGU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1750320230; x=1781856230; h=date:from:to:cc:subject:message-id:mime-version; bh=XgL1Zg1n9YmtzmUVbJdw4xHwQyAlDF54z92Xhh2Zl9o=; b=i/uqWwKZVL4tDR7WY96qcmLm3by/apelysUbSv7oi2h2Gm34J7mybNnM ZKzpPWMwRAmCFAToPzmn2Zb0IgYfZ3GSF8Od21kJuhCaOKc5Dhtb8n50V C8pX7Zp/kAmb1BuVYQ2R5G0DdqN9SSIW1mw0Er4DZyTbYMv1cctSBc/mF jS6G3utDBU0YM+HiDRIejRUmRHhGbfutgFJxTAF+Kajd9JQbXNe+oQNu0 BMcc/zbt4Xr3yySR2Dcss/SLNwlSw+GUarnw9Cxse1J1zqF0iBu0Retga FKPEACq+2hEJrFqzB00wy4islIwxtPl/Ey+CciKKMxIenS5f2mXZpEi3t g==; X-CSE-ConnectionGUID: RMeku3WNRVWFeiNj37C9+Q== X-CSE-MsgGUID: ZKUsnG0ZSE6T7+XK2Bn2Gw== X-IronPort-AV: E=McAfee;i="6800,10657,11468"; a="52444736" X-IronPort-AV: E=Sophos;i="6.16,248,1744095600"; d="scan'208";a="52444736" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jun 2025 01:03:32 -0700 X-CSE-ConnectionGUID: mlIMrFtTSU+8Ya+f/7ldkQ== X-CSE-MsgGUID: GcqOnlkbRoGcPGroDcJ05A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,248,1744095600"; d="scan'208";a="187741072" Received: from lkp-server01.sh.intel.com (HELO e8142ee1dce2) ([10.239.97.150]) by orviesa001.jf.intel.com with ESMTP; 19 Jun 2025 01:03:30 -0700 Received: from kbuild by e8142ee1dce2 with local (Exim 4.96) (envelope-from ) id 1uSAF5-000KYA-1q; Thu, 19 Jun 2025 08:03:27 +0000 Date: Thu, 19 Jun 2025 16:03:23 +0800 From: kernel test robot To: Alistair Popple Cc: oe-kbuild-all@lists.linux.dev, Andrew Morton , Linux Memory Management List , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , Jason Gunthorpe Subject: [akpm-mm:mm-new 158/177] arch/riscv/include/asm/pgtable.h:934:24: error: implicit declaration of function 'pte_mkdevmap'; did you mean 'pud_mkdevmap'? Message-ID: <202506191536.2hMhapuP-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: EF28940005 X-Stat-Signature: fhbrhihj7fnfbq8mnbr5dej34m5a9i4z X-Rspam-User: X-HE-Tag: 1750320229-236662 X-HE-Meta: U2FsdGVkX18NEVO70Dj6jhIgy1Mw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9PEst3UJHSI/He6DkAnJ4IFzDyko6DGmA8cHoyY2/WGBzd+U4B0hpg9MPGv9Mgs2gfL4YCHkbzo01XNnDGtnLX8gTWZNLSjLAkXwMI0eHYtnyX7fbXIr2iEaR+wh3XLMLtm4d7fwPaGNctrKld9bV6wqNLfzDpRO3/zYoIsrDKmNHWpJ03Ls/+LAcishbsYkAdf7L635Q4/kuJqpwDCcqdcXoWT+gXGJUODnhHqOHqqgHyonKlGoe28s4GBmyQb3OJwp82vpNIzrWsgletDZ6UvhSRfSzkeGrf2eJUsGtUIQ+cxb7EQKtlBLlRrMWBEW+XSnJnP4RXxZQL2k6oT77KGWSufG5zowRrKxUVzHdk+6ztiNvliZ/ZH7FW9baBjyOFk/93S0I66HrqtP6EQUg/Se3YKKEFmI 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/akpm/mm.git mm-new head: 98743cca1551b038cdec987961c609f2fb0beb83 commit: 8aed601c58980f1f7cd45d5373e739f87d22d028 [158/177] mm: remove devmap related functions and page table bits config: riscv-randconfig-r132-20250619 (https://download.01.org/0day-ci/archive/20250619/202506191536.2hMhapuP-lkp@intel.com/config) compiler: riscv64-linux-gcc (GCC) 15.1.0 reproduce: (https://download.01.org/0day-ci/archive/20250619/202506191536.2hMhapuP-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/202506191536.2hMhapuP-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/pgtable.h:6, from include/linux/mm.h:31, from arch/riscv/kernel/asm-offsets.c:8: arch/riscv/include/asm/pgtable.h: In function 'pud_mkdevmap': >> arch/riscv/include/asm/pgtable.h:934:24: error: implicit declaration of function 'pte_mkdevmap'; did you mean 'pud_mkdevmap'? [-Wimplicit-function-declaration] 934 | return pte_pud(pte_mkdevmap(pud_pte(pud))); | ^~~~~~~~~~~~ | pud_mkdevmap >> arch/riscv/include/asm/pgtable.h:934:24: error: incompatible type for argument 1 of 'pte_pud' 934 | return pte_pud(pte_mkdevmap(pud_pte(pud))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int arch/riscv/include/asm/pgtable.h:675:35: note: expected 'pte_t' but argument is of type 'int' 675 | static inline pud_t pte_pud(pte_t pte) | ~~~~~~^~~ make[3]: *** [scripts/Makefile.build:182: arch/riscv/kernel/asm-offsets.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1274: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:248: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:248: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +934 arch/riscv/include/asm/pgtable.h c3cc2a4a3a23fa Alexandre Ghiti 2025-03-21 931 c3cc2a4a3a23fa Alexandre Ghiti 2025-03-21 932 static inline pud_t pud_mkdevmap(pud_t pud) c3cc2a4a3a23fa Alexandre Ghiti 2025-03-21 933 { c3cc2a4a3a23fa Alexandre Ghiti 2025-03-21 @934 return pte_pud(pte_mkdevmap(pud_pte(pud))); c3cc2a4a3a23fa Alexandre Ghiti 2025-03-21 935 } c3cc2a4a3a23fa Alexandre Ghiti 2025-03-21 936 :::::: The code at line 934 was first introduced by commit :::::: c3cc2a4a3a23faf6b88459471c1c16ab3837cc2f riscv: Add support for PUD THP :::::: TO: Alexandre Ghiti :::::: CC: Palmer Dabbelt -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki