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 3CC90C77B75 for ; Fri, 12 May 2023 10:35:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 542ED6B0071; Fri, 12 May 2023 06:35:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4CBEE6B0074; Fri, 12 May 2023 06:35:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 346336B0075; Fri, 12 May 2023 06:35:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 2289E6B0071 for ; Fri, 12 May 2023 06:35:54 -0400 (EDT) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id E0FF280EC6 for ; Fri, 12 May 2023 10:35:53 +0000 (UTC) X-FDA: 80781247386.28.88B17D9 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by imf16.hostedemail.com (Postfix) with ESMTP id 7F8AE18000C for ; Fri, 12 May 2023 10:35:50 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=QLK0CPQY; spf=pass (imf16.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 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=1683887752; 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:in-reply-to:references:references:dkim-signature; bh=9PEO5hk45rB6VLRiSv3w9F5FNOJ6iGVIrmLMm44xmYI=; b=io3L2UdzO8eUHk0tFZfxbKP/2c2OMFd6sWN8nCjXzlFIBVL3J+7T7RphnZHSl53Yph2qXN PWziwQeVWXHHi4mF3WObpz1zgu+1E3tpg7IL0lC0B3XpirC4PW/D+NzWoll7RZVzG8OIrt G8BkDtCVQF8jmmUWzcV0VPGsjTBwTsk= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=QLK0CPQY; spf=pass (imf16.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1683887752; a=rsa-sha256; cv=none; b=qd8kQMvbTT/3zvCqNWHhPoWqsl2AZhmj2SsEGu/ytD922aapj1J8SSAitY30N5sBwBlop/ 8JlQs2V7eSCwfT8yDcCTTlZK4/75pWQ9LSusSVc8cmS7JrIEDihn9ryPdxeKDE8DbJ8uFN vV1GojI5aB+n1b4LVz+gIExI1Sa0uC8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683887750; x=1715423750; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=2opvhMbatw/DcaVcnQ1fua4laihyL3mGTblF3mM3Gdc=; b=QLK0CPQYzonRiSs6eGHo/Zz2tnf1nDEHfLIihdOzLoyxCm2SOVPOz5gJ +bkKjLi58L9PBtLHWLoM1mbMnl25RQTYi25mqnvhBdIe3WtKI1Ogs3KUY NYUycF4yQR+PBISZl6pVWHsdOMfK+fzeWtFRCFGKYeW8RPlOM/AIYuL7n GYP3I4Dki55Af/HGz2runJGh5qG0RrFTZ0krYQEE4ST41jW/ZVzLgJClw fpI5hNaxTJp4S5h1EWNpTcsG3/6jW5NpYY4Z9/weCmz37waT0gIHkEm/L 4bke7t9ixM7yuxTVjzyubpMJ1gJq2Q+Tn6bGW7qhQ2SJCaVXDTtSL3U7U w==; X-IronPort-AV: E=McAfee;i="6600,9927,10707"; a="378893454" X-IronPort-AV: E=Sophos;i="5.99,269,1677571200"; d="scan'208";a="378893454" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2023 03:35:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10707"; a="874353843" X-IronPort-AV: E=Sophos;i="5.99,269,1677571200"; d="scan'208";a="874353843" Received: from lkp-server01.sh.intel.com (HELO dea6d5a4f140) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 12 May 2023 03:35:45 -0700 Received: from kbuild by dea6d5a4f140 with local (Exim 4.96) (envelope-from ) id 1pxQ7l-0004mn-00; Fri, 12 May 2023 10:35:45 +0000 Date: Fri, 12 May 2023 18:34:56 +0800 From: kernel test robot To: Ryan Roberts , Andrew Morton , "Matthew Wilcox (Oracle)" , "Kirill A. Shutemov" , SeongJae Park Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Ryan Roberts , linux-kernel@vger.kernel.org, damon@lists.linux.dev Subject: Re: [PATCH v1 5/5] mm: ptep_deref() conversion Message-ID: <202305121818.hTDtbbPW-lkp@intel.com> References: <20230511125848.78621-6-ryan.roberts@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230511125848.78621-6-ryan.roberts@arm.com> X-Rspam-User: X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 7F8AE18000C X-Stat-Signature: yjand5mtgtgqcgit6kunechqsqa6bmtf X-HE-Tag: 1683887750-985669 X-HE-Meta: U2FsdGVkX18plSdPSpI8pl5vR4Y2tBYrn0RMvNHMFGXb7UrJ41U/ATn2iKkcFVEIQz/VS4YHsP/VsKeDU23WDu7vj7hZsB6/qbOOZ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t3uSjGb6v9ypZKEXLY8otZ+Q7suhMJBOme1voTV5LwSoa5XAeY8cYIfAtjNT2068TtPsu+3M2XZHA5RYyqq47522Qq20qka+pCfgZRZ4/sjggi+hi3PwhYZmy4HZCbCMFUYVAmNZUp+9bHuphRCNfxcQw4Dojb0olpExzD5C2QuvbFEDEmWx97BzNsdrDrug0zCx44uHG9gXq/frPBhjrmaewWCU70xiL5Awo2HVcjCdfcIvQbsEvXUTvDFQg3sbCnO8cXG+k98RE3kihY7Z4qx8JPT6kgpF0FGj/hzS 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: Hi Ryan, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/Ryan-Roberts/mm-damon-must-atomically-clear-young-on-ptes-and-pmds/20230511-215947 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20230511125848.78621-6-ryan.roberts%40arm.com patch subject: [PATCH v1 5/5] mm: ptep_deref() conversion config: m68k-randconfig-r002-20230511 (https://download.01.org/0day-ci/archive/20230512/202305121818.hTDtbbPW-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 12.1.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-lab-lkp/linux/commit/2d5aca0fcce58b92572fc59bee59a4c5588f2af8 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Ryan-Roberts/mm-damon-must-atomically-clear-young-on-ptes-and-pmds/20230511-215947 git checkout 2d5aca0fcce58b92572fc59bee59a4c5588f2af8 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305121818.hTDtbbPW-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from kernel/fork.c:52: include/linux/hugetlb.h: In function 'huge_ptep_clear_flush': >> include/linux/hugetlb.h:1203:16: error: implicit declaration of function 'ptep_deref' [-Werror=implicit-function-declaration] 1203 | return ptep_deref(ptep); | ^~~~~~~~~~ >> include/linux/hugetlb.h:1203:16: error: incompatible types when returning type 'int' but 'pte_t' was expected 1203 | return ptep_deref(ptep); | ^~~~~~~~~~~~~~~~ kernel/fork.c: At top level: kernel/fork.c:164:13: warning: no previous prototype for 'arch_release_task_struct' [-Wmissing-prototypes] 164 | void __weak arch_release_task_struct(struct task_struct *tsk) | ^~~~~~~~~~~~~~~~~~~~~~~~ kernel/fork.c:991:20: warning: no previous prototype for 'arch_task_cache_init' [-Wmissing-prototypes] 991 | void __init __weak arch_task_cache_init(void) { } | ^~~~~~~~~~~~~~~~~~~~ kernel/fork.c:1086:12: warning: no previous prototype for 'arch_dup_task_struct' [-Wmissing-prototypes] 1086 | int __weak arch_dup_task_struct(struct task_struct *dst, | ^~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors -- In file included from kernel/sysctl.c:45: include/linux/hugetlb.h: In function 'huge_ptep_clear_flush': >> include/linux/hugetlb.h:1203:16: error: implicit declaration of function 'ptep_deref' [-Werror=implicit-function-declaration] 1203 | return ptep_deref(ptep); | ^~~~~~~~~~ >> include/linux/hugetlb.h:1203:16: error: incompatible types when returning type 'int' but 'pte_t' was expected 1203 | return ptep_deref(ptep); | ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/ptep_deref +1203 include/linux/hugetlb.h 1199 1200 static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma, 1201 unsigned long addr, pte_t *ptep) 1202 { > 1203 return ptep_deref(ptep); 1204 } 1205 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests