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 9533DC54E41 for ; Sat, 9 Mar 2024 01:12:18 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E7DB26B03FE; Fri, 8 Mar 2024 20:12:17 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E2E466B03FF; Fri, 8 Mar 2024 20:12:17 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CF53B6B0400; Fri, 8 Mar 2024 20:12:17 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id C11526B03FE for ; Fri, 8 Mar 2024 20:12:17 -0500 (EST) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 5A923C1299 for ; Sat, 9 Mar 2024 01:12:17 +0000 (UTC) X-FDA: 81875724714.03.B276241 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by imf11.hostedemail.com (Postfix) with ESMTP id 0D5DC4000D for ; Sat, 9 Mar 2024 01:12:13 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=B21pAoDd; spf=pass (imf11.hostedemail.com: domain of lkp@intel.com designates 192.198.163.9 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=1709946735; 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=sbqve8AKHxio8Nt0fd/FLyFdB2G5oR6cH2g0yDnKG9U=; b=y1TqnfH7xLlyPDCnIbRWUFCO24G9NYycTY7jDiOc3QTA+2au5Qcb7gT8VjWaAWIqMWB469 9BBQDuHi+OBNi9H86fP/pvkDzts+fzDt0uUzhsoAXdttcb3KmCpAZqkI5G0Q+EjmX2pP5W NPASlnDcOR8wJ5XqVPomjlyVODFxJ04= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1709946735; a=rsa-sha256; cv=none; b=z3k5XCREfmPO8pT+xTzxGj9AwJoQ2JTcop3HQlH6T3Ctj/5E3uHVjv0/nLojizqwuVWIUB UEEUok+JOobEb9qwezqibHn/2aK4ukcjjG89/y159unGe18vunhO5r6m4EmeENhKaDSqsc uPwjtb14MtXunjDOHsdD1QF9nUzN8uE= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=B21pAoDd; spf=pass (imf11.hostedemail.com: domain of lkp@intel.com designates 192.198.163.9 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=1709946734; x=1741482734; h=date:from:to:cc:subject:message-id:mime-version; bh=Xg/M25L2zD7Y701nYjxZCqXpAlEYyOgdsXikfpW61y0=; b=B21pAoDdFtiyOw8c6D0SYunqq3osOgCjnWxxrkl//gFNlamk6J6D4mID 6OgIbtRDW76N+Htid8yGppflZV84jrYrcxqNkMP8tccCVITIs7v0BvB8m 3HhB6dGVUyr9hjjmIyzsxWeKiGRTkfqYPEpSinhT32iTKvrgGT9SLUMKG wUEDL5iu0UExFbXXZHgXKT4LlZLa1D7LDMDQubGAzZFY1GUZoiVaQZPCk TCY3OnWFjAc1hQR7qmI3UTtsAPaI9gt6Tp/gAJ1UgHiSt4JTRGASgznzH iMVLt8bOW/lGLUwLX8etyu1Jv8t5OYUqc+bGUTx5pJSd+Rf8tSu1zT38R A==; X-IronPort-AV: E=McAfee;i="6600,9927,11007"; a="15413681" X-IronPort-AV: E=Sophos;i="6.07,111,1708416000"; d="scan'208";a="15413681" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2024 17:12:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,111,1708416000"; d="scan'208";a="33776136" Received: from lkp-server01.sh.intel.com (HELO b21307750695) ([10.239.97.150]) by fmviesa002.fm.intel.com with ESMTP; 08 Mar 2024 17:12:09 -0800 Received: from kbuild by b21307750695 with local (Exim 4.96) (envelope-from ) id 1rilFu-0006qh-19; Sat, 09 Mar 2024 01:12:06 +0000 Date: Sat, 9 Mar 2024 09:11:53 +0800 From: kernel test robot To: Peter Xu Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Andrew Morton , Jason Gunthorpe , "Mike Rapoport (IBM)" Subject: [linux-next:master 12265/12944] arch/riscv/include/asm/pgtable.h:735:16: error: implicit declaration of function 'pud_leaf'; did you mean 'pmd_leaf'? Message-ID: <202403090900.OwPqmRuI-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Stat-Signature: rzatrgfchqts83y4xbhtqgpcnzpsnkzx X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 0D5DC4000D X-Rspam-User: X-HE-Tag: 1709946733-532010 X-HE-Meta: U2FsdGVkX1+4dFO75k6g4H3ghDUYTEzn/AJYtSpcFdVb4ymULsOoNMoQZDBQAboqhceAaL5NAze0+Mva8ab7P1ddEZOU5tOgfJXjKmO3rypEvGGeJu66szLy0lXXArMVmVXgI01/VI5CzM7hpAOJzFR2fq81iXHvBpDo3aoFse1LsSjn2Vx4ptGhwh9QXu2JcKPGd0BtHPvqNxJ/2XfH28PD5DoCyw/YHu7GohQvDyYEBXQ3lllcuBZpbh1BR8Ty+6AtLpgCCayQ86jng7OfWZrVtqU5ADwR02Be1lk/qcLPL2K9P1jBZYXA2fRHoyHHaxiTp8ZsN+3aj4cJzzGfkGe1qjHMMsT/pz5KOfKY9ukQQvhNDaSjLYVyRUJVCTepEs2vQQtvrjfUcFNWuFkVG10vE4J7THUeuDsdo40WZCJzUP2d6H2ibeMn7VNNjshyL9cXqg8hSv9yxH/rquwxlBqp1Lv3slzOMmruJQpLCXwmmFu9G993L2b4LN03cRgBArpUMJuf/TRZzECnOr1t/BCbXHdRqYbgj2dOEDC9RQC/UFjgwUfYtt0fFEIlM266JafUPjbeSc2mh4MiVuptiTRhOBUYRWGMTjDF/2bhpY08xUTg3yLsW473TTln6fJcBwrDlijcAH3c31Relgp0rLn1eiZm69FXXgHSRzjBDk/L53toMoAzV4vhGytUaC+MsoRiBphp0EMnxmqPE0nIeM7ZEqL8hAumF4pyJJVRsntQ9KyvZAppvZgcAkYCggBP2CP1hES5UA3UnryPK1VKayzTvmFWJZ/buT5EtxTysiOpZgkkkN25pCsyQV2X6EhQgDS01vHFs9q5acqbD1BmAqPadnmIWlMoG4M1oma46tvcA983F61QqYWxKs/7gew6S1Yxo6uYmFD+ddcAeSZ/pr8Z4BgAd9+9vsNXKW6EYx0JS98tZjOhNg== 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: 8ffc8b1bbd505e27e2c8439d326b6059c906c9dd commit: 924bd6a8c96767a05323d575bdefd664631dce73 [12265/12944] mm/x86: drop two unnecessary pud_leaf() definitions config: riscv-randconfig-r042-20230330 (https://download.01.org/0day-ci/archive/20240309/202403090900.OwPqmRuI-lkp@intel.com/config) compiler: riscv32-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240309/202403090900.OwPqmRuI-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/202403090900.OwPqmRuI-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/pgtable.h:6, from include/linux/mm.h:29, from arch/riscv/kernel/asm-offsets.c:10: arch/riscv/include/asm/pgtable.h: In function 'pud_user_accessible_page': >> arch/riscv/include/asm/pgtable.h:735:16: error: implicit declaration of function 'pud_leaf'; did you mean 'pmd_leaf'? [-Werror=implicit-function-declaration] 735 | return pud_leaf(pud) && pud_user(pud); | ^~~~~~~~ | pmd_leaf cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:116: arch/riscv/kernel/asm-offsets.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1199: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:240: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +735 arch/riscv/include/asm/pgtable.h 3332f419067411 Jisheng Zhang 2021-04-17 732 3fee229a8eb936 Tong Tiangen 2022-05-12 733 static inline bool pud_user_accessible_page(pud_t pud) 3fee229a8eb936 Tong Tiangen 2022-05-12 734 { 3fee229a8eb936 Tong Tiangen 2022-05-12 @735 return pud_leaf(pud) && pud_user(pud); 3fee229a8eb936 Tong Tiangen 2022-05-12 736 } 3fee229a8eb936 Tong Tiangen 2022-05-12 737 #endif 3fee229a8eb936 Tong Tiangen 2022-05-12 738 :::::: The code at line 735 was first introduced by commit :::::: 3fee229a8eb936b96933c6b2cd02d2e87a4cc997 riscv/mm: enable ARCH_SUPPORTS_PAGE_TABLE_CHECK :::::: TO: Tong Tiangen :::::: CC: Andrew Morton -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki