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 0B7B9CA101E for ; Mon, 2 Sep 2024 01:12:40 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7DEC68D005C; Sun, 1 Sep 2024 21:12:40 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 78F2D8D0052; Sun, 1 Sep 2024 21:12:40 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 62FE28D005C; Sun, 1 Sep 2024 21:12:40 -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 452588D0052 for ; Sun, 1 Sep 2024 21:12:40 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id C103BC17A7 for ; Mon, 2 Sep 2024 01:12:39 +0000 (UTC) X-FDA: 82518023238.07.64CCE7D Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by imf15.hostedemail.com (Postfix) with ESMTP id 494C8A0009 for ; Mon, 2 Sep 2024 01:12:36 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=jhQQGaEW; spf=pass (imf15.hostedemail.com: domain of lkp@intel.com designates 198.175.65.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=1725239510; 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=chgOQgKl1PcpWHGesuKqF3pLSzFXlfVjO/Us2nhP3do=; b=NxB+Ls75Ga4az/cG0ck7d/8Vt10YasxRjmaew2RgoHVn0YqRZOkqk0JHaiHdZbaKbYSbXZ y7fP/3iIssfvG4Kx+zONOcBCYfXzUPvL9/t8RdrEB9VJQJ+b4siDoljacCd+7rNRmcopgv AWy5Pfq65MHFzi02/7UpzgYaM6rmLGw= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=jhQQGaEW; spf=pass (imf15.hostedemail.com: domain of lkp@intel.com designates 198.175.65.9 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=1725239510; a=rsa-sha256; cv=none; b=Xz/zdJku0W0QFjgoO+e20gLQeCM91hg8a2X3MKe6ia15IoT0WHccdDSqM+fmHjeJtWp6w0 u0T1hNoAUPElJNFBNrHhv/pawdnkRcLQo2pUaMpx5lVw2RHl53nC7PlZ4BEjNGJmFc0g0u k1+Pvs9NcDXBvTVaf6yei9+kOukmG+o= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725239557; x=1756775557; h=date:from:to:cc:subject:message-id:mime-version; bh=RBrzIiUWKGj5kFpbEuVCiiyHM6DxxKN3kCoQpSjcEsM=; b=jhQQGaEWtF7xewvUEh4xmhzWr27FNTXMuWr7dgqOFUsq5TQD+8nzxZ1u eZyamex9IJjaa+wCyj6bGPtrxcmeaP047iL802MG2vkfJBTiAVlzRMgE8 smHwdBWuLhVJoMZeHpy1NCjCLizgPJHMrU9eXFWM+CVUEPjrTzN4mBxYE uZaIk0/jB/eyQ1mbrRWNlz1WHBkVgIDEtuV7mwNgSdOcXEwkjdJuzwxDj yENYcZkbZw3liXAuOOqAPupU8aP9e9Q4cfVrw07SkLiNPaGlbeVCppCRV a2gJL5dpIQVogbOiE+6X6Z1DSCy1DvsofZ3y7qOS6K5phpnaWcXRCxBRR g==; X-CSE-ConnectionGUID: ZqmafYzPQsCiNOXHyBofjQ== X-CSE-MsgGUID: Dhy83bZfTnW0Bcc685G1Yg== X-IronPort-AV: E=McAfee;i="6700,10204,11182"; a="46316338" X-IronPort-AV: E=Sophos;i="6.10,194,1719903600"; d="scan'208";a="46316338" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2024 18:12:36 -0700 X-CSE-ConnectionGUID: x7q6y3oTS8mEdG54nprkPQ== X-CSE-MsgGUID: Rxw9W0pxSG2moILV13WgEw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,194,1719903600"; d="scan'208";a="95269574" Received: from lkp-server01.sh.intel.com (HELO 9c6b1c7d3b50) ([10.239.97.150]) by fmviesa001.fm.intel.com with ESMTP; 01 Sep 2024 18:12:32 -0700 Received: from kbuild by 9c6b1c7d3b50 with local (Exim 4.96) (envelope-from ) id 1skvcM-00051H-0D; Mon, 02 Sep 2024 01:12:30 +0000 Date: Mon, 2 Sep 2024 09:12:06 +0800 From: kernel test robot To: "Mike Rapoport (Microsoft)" Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Andrew Morton , Jonathan Cameron , Dan Williams Subject: [linux-next:master 7142/8126] include/linux/numa_memblks.h:50:12: error: conflicting types for 'phys_to_target_node'; have 'int(phys_addr_t)' {aka 'int(unsigned int)'} Message-ID: <202409020920.5S9U7dww-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: 494C8A0009 X-Stat-Signature: ssbmzt1ud4rheo7gjfjmyzw9t8zsrzzw X-HE-Tag: 1725239556-434436 X-HE-Meta: U2FsdGVkX18f0JHNbveNHxWzH0Ch/RCQqF97coF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hJI3de4IiVX7DKQD7UKeZX0eLfvOyXp7n6X4Vmi57Owx4Ze887eHsIRgjQXhRRsxn5KA2+o2TyvGlZ1uavQBTc4DXp0BcaEkZEv+67UL5/sUCr99J1BY5vYME7vM2hGbO24jEDKDzrx8jFFhMiKqRC0CmShmy8cB9rjs1Y1H5SW0v/bpv3hRpaxWtnygdNb+z2zJ95H9GZte5UOeex+0yqFPyq7GOpv7AAsLD/uHEV3qz7ztIUrW7YAoY/Q== 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: 985bf40edf4343dcb04c33f58b40b4a85c1776d4 commit: 58b48700d8e043187d8032e0855f7ee8c4af5eac [7142/8126] mm: make range-to-target_node lookup facility a part of numa_memblks config: riscv-randconfig-r022-20221228 (https://download.01.org/0day-ci/archive/20240902/202409020920.5S9U7dww-lkp@intel.com/config) compiler: riscv32-linux-gcc (GCC) 13.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240902/202409020920.5S9U7dww-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/202409020920.5S9U7dww-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from mm/numa.c:6: >> include/linux/numa_memblks.h:50:12: error: conflicting types for 'phys_to_target_node'; have 'int(phys_addr_t)' {aka 'int(unsigned int)'} 50 | extern int phys_to_target_node(phys_addr_t start); | ^~~~~~~~~~~~~~~~~~~ In file included from include/linux/cpumask.h:17, from arch/riscv/include/asm/processor.h:77, from arch/riscv/include/asm/thread_info.h:37, from include/linux/thread_info.h:60, from include/asm-generic/preempt.h:5, from ./arch/riscv/include/generated/asm/preempt.h:1, from include/linux/preempt.h:79, from include/linux/spinlock.h:56, from include/linux/mmzone.h:8, from include/linux/gfp.h:7, from include/linux/mm.h:7, from include/linux/memblock.h:12, from mm/numa.c:3: include/linux/numa.h:47:5: note: previous declaration of 'phys_to_target_node' with type 'int(u64)' {aka 'int(long long unsigned int)'} 47 | int phys_to_target_node(u64 start); | ^~~~~~~~~~~~~~~~~~~ -- In file included from mm/numa_memblks.c:8: >> include/linux/numa_memblks.h:50:12: error: conflicting types for 'phys_to_target_node'; have 'int(phys_addr_t)' {aka 'int(unsigned int)'} 50 | extern int phys_to_target_node(phys_addr_t start); | ^~~~~~~~~~~~~~~~~~~ In file included from include/linux/cpumask.h:17, from arch/riscv/include/asm/processor.h:77, from arch/riscv/include/asm/thread_info.h:37, from include/linux/thread_info.h:60, from include/asm-generic/preempt.h:5, from ./arch/riscv/include/generated/asm/preempt.h:1, from include/linux/preempt.h:79, from include/linux/spinlock.h:56, from include/linux/mmzone.h:8, from include/linux/gfp.h:7, from include/linux/mm.h:7, from include/linux/memblock.h:12, from mm/numa_memblks.c:6: include/linux/numa.h:47:5: note: previous declaration of 'phys_to_target_node' with type 'int(u64)' {aka 'int(long long unsigned int)'} 47 | int phys_to_target_node(u64 start); | ^~~~~~~~~~~~~~~~~~~ include/linux/numa_memblks.h:51:29: error: conflicting types for 'phys_to_target_node'; have 'int(phys_addr_t)' {aka 'int(unsigned int)'} 51 | #define phys_to_target_node phys_to_target_node | ^~~~~~~~~~~~~~~~~~~ mm/numa_memblks.c:546:5: note: in expansion of macro 'phys_to_target_node' 546 | int phys_to_target_node(phys_addr_t start) | ^~~~~~~~~~~~~~~~~~~ include/linux/numa.h:47:5: note: previous declaration of 'phys_to_target_node' with type 'int(u64)' {aka 'int(long long unsigned int)'} 47 | int phys_to_target_node(u64 start); | ^~~~~~~~~~~~~~~~~~~ In file included from include/linux/linkage.h:7, from include/linux/printk.h:8, from mm/numa_memblks.c:5: include/linux/numa_memblks.h:51:29: error: conflicting types for 'phys_to_target_node'; have 'int(phys_addr_t)' {aka 'int(unsigned int)'} 51 | #define phys_to_target_node phys_to_target_node | ^~~~~~~~~~~~~~~~~~~ include/linux/export.h:56:28: note: in definition of macro '__EXPORT_SYMBOL' 56 | extern typeof(sym) sym; \ | ^~~ include/linux/export.h:69:41: note: in expansion of macro '_EXPORT_SYMBOL' 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") | ^~~~~~~~~~~~~~ mm/numa_memblks.c:559:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL' 559 | EXPORT_SYMBOL_GPL(phys_to_target_node); | ^~~~~~~~~~~~~~~~~ mm/numa_memblks.c:559:19: note: in expansion of macro 'phys_to_target_node' 559 | EXPORT_SYMBOL_GPL(phys_to_target_node); | ^~~~~~~~~~~~~~~~~~~ include/linux/numa.h:47:5: note: previous declaration of 'phys_to_target_node' with type 'int(u64)' {aka 'int(long long unsigned int)'} 47 | int phys_to_target_node(u64 start); | ^~~~~~~~~~~~~~~~~~~ vim +50 include/linux/numa_memblks.h 48 49 #ifdef CONFIG_NUMA_KEEP_MEMINFO > 50 extern int phys_to_target_node(phys_addr_t start); 51 #define phys_to_target_node phys_to_target_node 52 extern int memory_add_physaddr_to_nid(u64 start); 53 #define memory_add_physaddr_to_nid memory_add_physaddr_to_nid 54 #endif /* CONFIG_NUMA_KEEP_MEMINFO */ 55 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki