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 DCE31C433EF for ; Sat, 4 Jun 2022 13:56:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id ECC826B0071; Sat, 4 Jun 2022 09:56:44 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E77626B0073; Sat, 4 Jun 2022 09:56:44 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D3DBD6B0074; Sat, 4 Jun 2022 09:56:44 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id C45066B0071 for ; Sat, 4 Jun 2022 09:56:44 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay12.hostedemail.com (Postfix) with ESMTP id 9AAC61210CF for ; Sat, 4 Jun 2022 13:56:44 +0000 (UTC) X-FDA: 79540703928.13.EAF6417 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by imf10.hostedemail.com (Postfix) with ESMTP id 13BD1C0012 for ; Sat, 4 Jun 2022 13:55:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654351003; x=1685887003; h=date:from:to:cc:subject:message-id:mime-version; bh=IBULINJaGy6M9HxKHXNr6wkab0MKcoPGV6i+u2nC4Zo=; b=GlnBG2pvfN1ovk9oBqsiCFQCmivWaUiD5eRqiVEREWHB7FSNU4uaS7c5 sxra5sRyZTEZ1TZCOfbV0SF7VW0mrli95mg8NbX1+Ki06ofNfRIt75mFT uDkenm+yitD+vKI/zQuUmgv8aFEX3CZnQXE125N9B/W1zQtvMQUS2uFXm qpJKe0/KSRiMsGhwDqDr9kvzpq1BVVOzQ12JkdOeAOoGsJl3uyr/HYDCF qDXUSM1IPPygf4Z0/zlZd8r46SDIKBWcozk+rj9UkhtKJbCI0/4iS0USH 5BM8EqS45DIus+VfIOe/bYNyv0a/Qz3MaK1hGFNNfSYPEWcRiFUTknb5u w==; X-IronPort-AV: E=McAfee;i="6400,9594,10368"; a="264118523" X-IronPort-AV: E=Sophos;i="5.91,277,1647327600"; d="scan'208";a="264118523" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2022 06:56:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,277,1647327600"; d="scan'208";a="668842957" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 04 Jun 2022 06:56:39 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nxUGc-000Avn-J8; Sat, 04 Jun 2022 13:56:38 +0000 Date: Sat, 4 Jun 2022 21:55:44 +0800 From: kernel test robot To: Shiyang Ruan Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Andrew Morton , Linux Memory Management List , "Darrick J. Wong" , Christoph Hellwig , Dan Williams , Miaohe Lin Subject: [akpm-mm:mm-unstable 168/180] mm/memory-failure.c:1740:7: error: call to undeclared function 'mf_generic_kill_procs'; ISO C99 and later do not support implicit function declarations Message-ID: <202206042127.sGqAcR3f-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Stat-Signature: ym4dmginguew7xdr559krx7abe6fkape X-Rspam-User: Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=GlnBG2pv; spf=none (imf10.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.20) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 13BD1C0012 X-HE-Tag: 1654350955-531264 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable head: f06e3c5104126b9a6660b58f29619b53bfa33b2b commit: 92eb33ec5ea377357ff8087197209cbfbf40dbf9 [168/180] mm: factor helpers for memory_failure_dev_pagemap config: x86_64-randconfig-a014 (https://download.01.org/0day-ci/archive/20220604/202206042127.sGqAcR3f-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b364c76683f8ef241025a9556300778c07b590c2) 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://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?id=92eb33ec5ea377357ff8087197209cbfbf40dbf9 git remote add akpm-mm https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git git fetch --no-tags akpm-mm mm-unstable git checkout 92eb33ec5ea377357ff8087197209cbfbf40dbf9 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> mm/memory-failure.c:1740:7: error: call to undeclared function 'mf_generic_kill_procs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] rc = mf_generic_kill_procs(pfn, flags, pgmap); ^ 1 error generated. vim +/mf_generic_kill_procs +1740 mm/memory-failure.c 1723 1724 static int memory_failure_dev_pagemap(unsigned long pfn, int flags, 1725 struct dev_pagemap *pgmap) 1726 { 1727 struct page *page = pfn_to_page(pfn); 1728 int rc = -ENXIO; 1729 1730 if (flags & MF_COUNT_INCREASED) 1731 /* 1732 * Drop the extra refcount in case we come from madvise(). 1733 */ 1734 put_page(page); 1735 1736 /* device metadata space is not recoverable */ 1737 if (!pgmap_pfn_valid(pgmap, pfn)) 1738 goto out; 1739 > 1740 rc = mf_generic_kill_procs(pfn, flags, pgmap); 1741 out: 1742 /* drop pgmap ref acquired in caller */ 1743 put_dev_pagemap(pgmap); 1744 action_result(pfn, MF_MSG_DAX, rc ? MF_FAILED : MF_RECOVERED); 1745 return rc; 1746 } 1747 -- 0-DAY CI Kernel Test Service https://01.org/lkp