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 0CDEAC433FE for ; Thu, 10 Feb 2022 08:51:40 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1E2F86B0071; Thu, 10 Feb 2022 03:51:40 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 192F96B0075; Thu, 10 Feb 2022 03:51:40 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 082306B007B; Thu, 10 Feb 2022 03:51:40 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0128.hostedemail.com [216.40.44.128]) by kanga.kvack.org (Postfix) with ESMTP id EBCC06B0071 for ; Thu, 10 Feb 2022 03:51:39 -0500 (EST) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id AF92318209BFC for ; Thu, 10 Feb 2022 08:51:39 +0000 (UTC) X-FDA: 79126251918.22.887B960 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by imf28.hostedemail.com (Postfix) with ESMTP id A4B4AC0009 for ; Thu, 10 Feb 2022 08:51:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644483098; x=1676019098; h=date:from:to:cc:subject:message-id:mime-version; bh=/A4693GUb3o/SU+sa4rlHA5z1S2X7+z1egkBlbKjtho=; b=nChtjZRnrWW4zXUFQuJ+/ARlX9Osk6LodSOKPQ35CDS92wT+GVAF0FmX hiFI52VGGfq9G+0m85gTrDAtyXKJRA5+E7BtT4lkA01/EwkbW/93fxFaj UOjYMP1mFwNbitDx8F1bVqGFsxwDC2os6XOimEe/Ihx8EDKkp6UQ1msFA rr6fAAyTMAcZ3+V2SRcuO64QMibJsGIArQyCiESL1LF0N/aQMba67TLH0 nkOc4j2YAp8+nNqOZAX813nzwrNcwtJTxO5n6iZkj56ddKAhz3oP1Fgp8 MizTooei1f8xmypcy4m2Dgl/IbZURIIX1EEPdgkbEkqy9RFc2NuKAYA0G Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10253"; a="248276813" X-IronPort-AV: E=Sophos;i="5.88,358,1635231600"; d="scan'208";a="248276813" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2022 00:51:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,358,1635231600"; d="scan'208";a="701609674" Received: from lkp-server01.sh.intel.com (HELO d95dc2dabeb1) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 10 Feb 2022 00:51:35 -0800 Received: from kbuild by d95dc2dabeb1 with local (Exim 4.92) (envelope-from ) id 1nI5As-0002zm-Rn; Thu, 10 Feb 2022 08:51:34 +0000 Date: Thu, 10 Feb 2022 16:51:31 +0800 From: kernel test robot To: Pingfan Liu Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Palmer Dabbelt Subject: [linux-next:pending-fixes 265/356] arch/riscv/kernel/cpu-hotplug.c:43:2: error: implicit declaration of function 'numa_remove_cpu' Message-ID: <202202101650.4mU4Ubis-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspam-User: Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=nChtjZRn; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf28.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.120) smtp.mailfrom=lkp@intel.com X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: A4B4AC0009 X-Stat-Signature: gz57kjh4a1somsskdjy63dgabumkw9c8 X-HE-Tag: 1644483098-109160 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/next/linux-next.git pending-fixes head: dfd7907f4e4fe53417c1436f4a727a143e0ba2d2 commit: c3c94752087e789419be7024116c0a7b22883541 [265/356] riscv: cpu-hotplug: clear cpu from numa map when teardown config: riscv-randconfig-c006-20220210 (https://download.01.org/0day-ci/archive/20220210/202202101650.4mU4Ubis-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project aa845d7a245d85c441d0bd44fc7b6c3be8f3de8d) 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 # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c3c94752087e789419be7024116c0a7b22883541 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next pending-fixes git checkout c3c94752087e789419be7024116c0a7b22883541 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> arch/riscv/kernel/cpu-hotplug.c:43:2: error: implicit declaration of function 'numa_remove_cpu' [-Werror,-Wimplicit-function-declaration] numa_remove_cpu(cpu); ^ arch/riscv/kernel/cpu-hotplug.c:43:2: note: did you mean 'remove_cpu'? include/linux/cpu.h:128:5: note: 'remove_cpu' declared here int remove_cpu(unsigned int cpu); ^ 1 error generated. vim +/numa_remove_cpu +43 arch/riscv/kernel/cpu-hotplug.c 24 25 /* 26 * __cpu_disable runs on the processor to be shutdown. 27 */ 28 int __cpu_disable(void) 29 { 30 int ret = 0; 31 unsigned int cpu = smp_processor_id(); 32 33 if (!cpu_ops[cpu] || !cpu_ops[cpu]->cpu_stop) 34 return -EOPNOTSUPP; 35 36 if (cpu_ops[cpu]->cpu_disable) 37 ret = cpu_ops[cpu]->cpu_disable(cpu); 38 39 if (ret) 40 return ret; 41 42 remove_cpu_topology(cpu); > 43 numa_remove_cpu(cpu); 44 set_cpu_online(cpu, false); 45 irq_migrate_all_off_this_cpu(); 46 47 return ret; 48 } 49 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org