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 0752AC369DC for ; Tue, 29 Apr 2025 16:37:58 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0AF486B000E; Tue, 29 Apr 2025 12:37:56 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 068A16B0010; Tue, 29 Apr 2025 12:37:56 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E8E4A6B0011; Tue, 29 Apr 2025 12:37:55 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id C7F9F6B000E for ; Tue, 29 Apr 2025 12:37:55 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 0386380AB7 for ; Tue, 29 Apr 2025 16:37:56 +0000 (UTC) X-FDA: 83387638194.20.F2051F7 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) by imf02.hostedemail.com (Postfix) with ESMTP id 303D380019 for ; Tue, 29 Apr 2025 16:37:53 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="FbS/BQrQ"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf02.hostedemail.com: domain of lkp@intel.com designates 192.198.163.11 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1745944675; a=rsa-sha256; cv=none; b=V/piOEwWh/dwZs9fGVsKaMdVYcVcABuLIn1XFBagIMcMkI2C9tGP4J+TfpxkfhbTRE0JqJ gr54+mLKDb3g74rRtff5UETyDkKWnrwb4RA74+jf3CTENdlvkr9wuHNqc/2ASdHJN+npYl FeYPsM6php+SkLWuHFMtcVg/pO3eT4A= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="FbS/BQrQ"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf02.hostedemail.com: domain of lkp@intel.com designates 192.198.163.11 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1745944675; 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=x21d0s75i9tv0V2yEcIptW7QbfnDQ9yL2AfgDyIzX7E=; b=Wwv2BJq9UJB+nU+zDJulIWHdVgPXa/BjWsLIPEAwK1jT3GMRQFg23Q+y1uTYSDD96q3tlC hDLYaCmrrsd1a7Qskl5S5gIIBHsz7UNevbHTT//1PLi3G4auDfQF8jRF8WOLq5AMjrmpJv jGatr0MGQyFMkdfs8ArHbnBtK4EYFho= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1745944674; x=1777480674; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=VLHDyQ3gv+d0/xCunQosPm0u0ghgi9MXHQslBr37jyA=; b=FbS/BQrQa2y1KMzMc4fPSXI/2Z/s+Veigq2nazVgWAu6lumB2lmrfbXQ znSa+orHN7mhs7zwBnFICD6hFyoBSVZpOX3wiHRyk+SxXzv8VhRfqHY4N qcpECJlytct+MAJIMjGFzBqLy0nNyAE1QzJuO4BdQYUVKdFnwW4SMxGWb steJjUyHjXSRnngFtpkU7JWDTjuckS4r6bTIn0ze4K25xiLWvORhqHnE7 H04YnxTzo1UrV3ivV1z+mvv86qXjmlxyrcKYOEXkZGIh9wPAl8B9+jZz7 PcnW4wZOxL268XhI6ay1z7BLyuQcviApIA3R/GqssyrqT3gSX0I8FL4nP w==; X-CSE-ConnectionGUID: lKi11Fd0QU2v5XEgicumOg== X-CSE-MsgGUID: SUDWKz8rSAazSZDq1tMNlw== X-IronPort-AV: E=McAfee;i="6700,10204,11418"; a="58215013" X-IronPort-AV: E=Sophos;i="6.15,249,1739865600"; d="scan'208";a="58215013" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2025 09:37:53 -0700 X-CSE-ConnectionGUID: TGvhxFDySBa9YR8V/Yeb2g== X-CSE-MsgGUID: qYG2wNeAR8it1V++ON/tcA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,249,1739865600"; d="scan'208";a="133771195" Received: from lkp-server01.sh.intel.com (HELO 1992f890471c) ([10.239.97.150]) by fmviesa006.fm.intel.com with ESMTP; 29 Apr 2025 09:37:49 -0700 Received: from kbuild by 1992f890471c with local (Exim 4.96) (envelope-from ) id 1u9nxq-0000vH-2S; Tue, 29 Apr 2025 16:37:46 +0000 Date: Wed, 30 Apr 2025 00:37:33 +0800 From: kernel test robot To: Donet Tom , Mike Rapoport , David Hildenbrand , Oscar Salvador , Greg Kroah-Hartman , Andrew Morton , rafael@kernel.org, Danilo Krummrich Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Ritesh Harjani , Jonathan Cameron , Alison Schofield , Yury Norov , Dave Jiang , linux-kernel@vger.kernel.org, Donet Tom Subject: Re: [PATCH v2 1/2] driver/base: Optimize memory block registration to reduce boot time Message-ID: <202504300020.lYdm2Yud-lkp@intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 303D380019 X-Stat-Signature: 7wgkfd7nb3dkmg3a3e9i5h5xaszyjyk6 X-Rspam-User: X-HE-Tag: 1745944673-623933 X-HE-Meta: U2FsdGVkX19z8bSk6sqeFAcyz0dqiqy5WKcCVUs85kTr7G4st28wzSzMdlacAk757s13HKy29ja+HrquiTiVk9Gv/DrKETAq2TY2JmUvMkMMwgyRiCLyo/eAVmAv5YHk7zQm7UqrdSvdebUiXBOQmnpyX2zTOrmfm5d6vIyuE+tF4bh8R05Prvc/G9At5ruZ7xqfvnaRdUxchg+zig28s8U+Jz7jmaTphLC7ir890dM2POa+eTIwZdgxEVh9ojjPzpRwNwwsxK0nfcAOf01ehyFoEs9H33U/i1plpf/89a95mwKZEmaHsSBhiJbYhYj9Y6DfsbkAWTzDUakZMGP79uDK5WZVhvlUG44PVgH8mdN3XVwdPU+7IAPnjlKisEqI7NmxTEUhoyyfiZ8t1lu0qjeKEDKmmdAwZYN5jcEKVo0Q1YKWYAbWzMrQPfXcTUc9jIoVTaOA8Xib7dIoVYebJp87v4hC2PZdV8x7gs0DM7qLpFvE1+ivYZCH3ZrOArV8c/YoxTT9XIi1RJqr768tt/d/3JtAzHzZRkOL5/GEXBAy/rYJJve1OxhfA4PggvqXS0U8CkES/uifO85kt1SXpD4/FnTx9dbvB7LhDp+dfLjwdkTSwK/iVOXxMh7KKkkg13823mJSQPfJGsnKnN1m7Ut+vCyOXySPM3YgdAUPYZL1oEZ8s2eBdmBKx/2fLhm1Evop3vZdzjdsqdfzB/f3otvTISzv1H0s8jlXp4N7eIJBOApSHgrL8sNBZf6V6uxSshxbX40Uj6hSxf6mm6cc+lQVbfR3ZqscfsL94r8ErSbgxTjwK0M6NgNN3sqnxVmw7ziXP/dgTvRj+DcnAzHFAHc672cco/XULd+OMke8iPdF5tmN6KROwhNiudv9PcfcdvH0f3UPfFGreXFthlxzRZojgkBjspXVdMCxnTqYaN3q1htWjma9MWJsgUB/YWH58GD2QlBsVb31Y7Ml7CM caaED+dp 87A2SPs2Te0T+2QIZRhYAOWkaOMk0mdif+NKDYXjqA0PgnuXmyP2zImMtj906Yx3PASVBc58sh9OOu4kZmXJqhrRn4/HQABVRr1ukjIR5Iww7yvgIdcv/shTPzE3huDABh6jWCneF2OH4IFNw62dEk43htERswdZf71LucwriLpcyklolqgNbAVGF9uapIPW0zS+cd1FRj09IKvfe1sNOR8DwZJmPNQ/+VzOOsOM7sO9slIXk2fZJMHiMKQ9DGuP7mNx6WgE48drDqb1pGNhzsReqhl2vFco2OkQ0E4iwvvb71vl9Qm/XAxQK0pqI53mMZHYPriG3XBxkddI/jOngzW8hTS9Bba/42nlO6cj+VZ/bx6mRa6OXfY/s0HMrPYZBZvlgSu+ybdeIPwfUVDs2cRl7SV+gWO6JdQQmda9Eq+k2rcNfNqp295ksn6bl0UiJS6+l79Bp512ijMg= 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: Hi Donet, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on linus/master v6.15-rc4 next-20250429] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Donet-Tom/driver-base-Remove-unused-functions/20250429-010442 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/fbe1e0c7d91bf3fa9a64ff5d84b53ded1d0d5ac7.1745852397.git.donettom%40linux.ibm.com patch subject: [PATCH v2 1/2] driver/base: Optimize memory block registration to reduce boot time config: s390-randconfig-001-20250429 (https://download.01.org/0day-ci/archive/20250430/202504300020.lYdm2Yud-lkp@intel.com/config) compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250430/202504300020.lYdm2Yud-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/202504300020.lYdm2Yud-lkp@intel.com/ All error/warnings (new ones prefixed by >>): In file included from fs/attr.c:18: In file included from include/linux/security.h:35: In file included from include/linux/bpf.h:30: In file included from include/linux/static_call.h:135: In file included from include/linux/cpu.h:17: >> include/linux/node.h:124:6: warning: no previous prototype for function 'register_memory_blocks_under_node_early' [-Wmissing-prototypes] 124 | void register_memory_blocks_under_node_early(int nid) | ^ include/linux/node.h:124:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 124 | void register_memory_blocks_under_node_early(int nid) | ^ | static 1 warning generated. -- In file included from mm/slub.c:14: In file included from include/linux/swap.h:11: >> include/linux/node.h:124:6: warning: no previous prototype for function 'register_memory_blocks_under_node_early' [-Wmissing-prototypes] 124 | void register_memory_blocks_under_node_early(int nid) | ^ include/linux/node.h:124:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 124 | void register_memory_blocks_under_node_early(int nid) | ^ | static mm/slub.c:414:6: warning: unused function 'stat_add' [-Wunused-function] 414 | void stat_add(const struct kmem_cache *s, enum stat_item si, int v) | ^~~~~~~~ mm/slub.c:527:21: warning: unused function 'get_freepointer_safe' [-Wunused-function] 527 | static inline void *get_freepointer_safe(struct kmem_cache *s, void *object) | ^~~~~~~~~~~~~~~~~~~~ mm/slub.c:627:1: warning: unused function 'slub_set_cpu_partial' [-Wunused-function] 627 | slub_set_cpu_partial(struct kmem_cache *s, unsigned int nr_objects) | ^~~~~~~~~~~~~~~~~~~~ mm/slub.c:691:20: warning: unused function '__slab_update_freelist' [-Wunused-function] 691 | static inline bool __slab_update_freelist(struct kmem_cache *s, struct slab *slab, | ^~~~~~~~~~~~~~~~~~~~~~ mm/slub.c:1889:20: warning: unused function 'set_track' [-Wunused-function] 1889 | static inline void set_track(struct kmem_cache *s, void *object, | ^~~~~~~~~ mm/slub.c:3429:19: warning: unused function 'node_match' [-Wunused-function] 3429 | static inline int node_match(struct slab *slab, int node) | ^~~~~~~~~~ 7 warnings generated. -- In file included from mm/mremap.c:12: In file included from include/linux/mm_inline.h:8: In file included from include/linux/swap.h:11: >> include/linux/node.h:124:6: warning: no previous prototype for function 'register_memory_blocks_under_node_early' [-Wmissing-prototypes] 124 | void register_memory_blocks_under_node_early(int nid) | ^ include/linux/node.h:124:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 124 | void register_memory_blocks_under_node_early(int nid) | ^ | static mm/mremap.c:288:20: warning: unused function 'arch_supports_page_table_move' [-Wunused-function] 288 | static inline bool arch_supports_page_table_move(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mm/mremap.c:287:39: note: expanded from macro 'arch_supports_page_table_move' 287 | #define arch_supports_page_table_move arch_supports_page_table_move | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. -- In file included from kernel/jump_label.c:9: In file included from include/linux/memory.h:19: >> include/linux/node.h:124:6: warning: no previous prototype for function 'register_memory_blocks_under_node_early' [-Wmissing-prototypes] 124 | void register_memory_blocks_under_node_early(int nid) | ^ include/linux/node.h:124:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 124 | void register_memory_blocks_under_node_early(int nid) | ^ | static kernel/jump_label.c:415:20: warning: unused function 'static_key_type' [-Wunused-function] 415 | static inline bool static_key_type(struct static_key *key) | ^~~~~~~~~~~~~~~ kernel/jump_label.c:420:20: warning: unused function 'static_key_linked' [-Wunused-function] 420 | static inline bool static_key_linked(struct static_key *key) | ^~~~~~~~~~~~~~~~~ kernel/jump_label.c:425:20: warning: unused function 'static_key_clear_linked' [-Wunused-function] 425 | static inline void static_key_clear_linked(struct static_key *key) | ^~~~~~~~~~~~~~~~~~~~~~~ kernel/jump_label.c:430:20: warning: unused function 'static_key_set_linked' [-Wunused-function] 430 | static inline void static_key_set_linked(struct static_key *key) | ^~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. -- In file included from io_uring/uring_cmd.c:7: In file included from include/linux/security.h:35: In file included from include/linux/bpf.h:30: In file included from include/linux/static_call.h:135: In file included from include/linux/cpu.h:17: >> include/linux/node.h:124:6: warning: no previous prototype for function 'register_memory_blocks_under_node_early' [-Wmissing-prototypes] 124 | void register_memory_blocks_under_node_early(int nid) | ^ include/linux/node.h:124:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 124 | void register_memory_blocks_under_node_early(int nid) | ^ | static io_uring/uring_cmd.c:306:19: warning: unused function 'io_uring_cmd_getsockopt' [-Wunused-function] 306 | static inline int io_uring_cmd_getsockopt(struct socket *sock, | ^~~~~~~~~~~~~~~~~~~~~~~ io_uring/uring_cmd.c:333:19: warning: unused function 'io_uring_cmd_setsockopt' [-Wunused-function] 333 | static inline int io_uring_cmd_setsockopt(struct socket *sock, | ^~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. -- In file included from kernel/trace/ftrace.c:17: In file included from include/linux/stop_machine.h:5: In file included from include/linux/cpu.h:17: >> include/linux/node.h:124:6: warning: no previous prototype for function 'register_memory_blocks_under_node_early' [-Wmissing-prototypes] 124 | void register_memory_blocks_under_node_early(int nid) | ^ include/linux/node.h:124:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 124 | void register_memory_blocks_under_node_early(int nid) | ^ | static kernel/trace/ftrace.c:4354:19: warning: unused function 'test_for_valid_rec' [-Wunused-function] 4354 | static inline int test_for_valid_rec(struct dyn_ftrace *rec) | ^~~~~~~~~~~~~~~~~~ 2 warnings generated. -- In file included from kernel/sched/fair.c:57: In file included from kernel/sched/sched.h:31: In file included from include/linux/cpufreq.h:12: In file included from include/linux/cpu.h:17: >> include/linux/node.h:124:6: warning: no previous prototype for function 'register_memory_blocks_under_node_early' [-Wmissing-prototypes] 124 | void register_memory_blocks_under_node_early(int nid) | ^ include/linux/node.h:124:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 124 | void register_memory_blocks_under_node_early(int nid) | ^ | static kernel/sched/fair.c:484:20: warning: unused function 'list_del_leaf_cfs_rq' [-Wunused-function] 484 | static inline void list_del_leaf_cfs_rq(struct cfs_rq *cfs_rq) | ^~~~~~~~~~~~~~~~~~~~ kernel/sched/fair.c:505:19: warning: unused function 'tg_is_idle' [-Wunused-function] 505 | static inline int tg_is_idle(struct task_group *tg) | ^~~~~~~~~~ kernel/sched/fair.c:6747:20: warning: unused function 'sync_throttle' [-Wunused-function] 6747 | static inline void sync_throttle(struct task_group *tg, int cpu) {} | ^~~~~~~~~~~~~ kernel/sched/fair.c:6771:37: warning: unused function 'tg_cfs_bandwidth' [-Wunused-function] 6771 | static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg) | ^~~~~~~~~~~~~~~~ kernel/sched/fair.c:6775:20: warning: unused function 'destroy_cfs_bandwidth' [-Wunused-function] 6775 | static inline void destroy_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {} | ^~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. -- In file included from kernel/sched/core.c:14: In file included from include/linux/syscalls_api.h:1: In file included from include/linux/syscalls.h:94: In file included from include/trace/syscall.h:5: In file included from include/linux/tracepoint.h:22: In file included from include/linux/static_call.h:135: In file included from include/linux/cpu.h:17: >> include/linux/node.h:124:6: warning: no previous prototype for function 'register_memory_blocks_under_node_early' [-Wmissing-prototypes] 124 | void register_memory_blocks_under_node_early(int nid) | ^ include/linux/node.h:124:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 124 | void register_memory_blocks_under_node_early(int nid) | ^ | static kernel/sched/core.c:6444:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6444 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6445 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6446 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6447 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ include/linux/cleanup.h:408:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 408 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 409 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/cleanup.h:387:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 387 | \ | ^ 388 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/cleanup.h:295:23: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 295 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :36:1: note: expanded from here 36 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. -- In file included from kernel/trace/rv/monitors/snep/snep.c:3: In file included from include/linux/tracepoint.h:22: In file included from include/linux/static_call.h:135: In file included from include/linux/cpu.h:17: >> include/linux/node.h:124:6: warning: no previous prototype for function 'register_memory_blocks_under_node_early' [-Wmissing-prototypes] 124 | void register_memory_blocks_under_node_early(int nid) | ^ include/linux/node.h:124:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 124 | void register_memory_blocks_under_node_early(int nid) | ^ | static kernel/trace/rv/monitors/snep/snep.c:21:1: warning: unused function 'da_handle_start_run_event_snep' [-Wunused-function] 21 | DECLARE_DA_MON_PER_CPU(snep, unsigned char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/rv/da_monitor.h:536:48: note: expanded from macro 'DECLARE_DA_MON_PER_CPU' 536 | DECLARE_DA_MON_INIT_PER_CPU(name, type) \ | ^ 537 | DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT(name, type) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/rv/da_monitor.h:438:20: note: expanded from macro '\ DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT' 438 | static inline bool da_handle_start_run_event_##name(enum events_##name event) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :2:1: note: expanded from here 2 | da_handle_start_run_event_snep | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. -- In file included from kernel/trace/rv/monitors/scpd/scpd.c:3: In file included from include/linux/tracepoint.h:22: In file included from include/linux/static_call.h:135: In file included from include/linux/cpu.h:17: >> include/linux/node.h:124:6: warning: no previous prototype for function 'register_memory_blocks_under_node_early' [-Wmissing-prototypes] 124 | void register_memory_blocks_under_node_early(int nid) | ^ include/linux/node.h:124:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 124 | void register_memory_blocks_under_node_early(int nid) | ^ | static kernel/trace/rv/monitors/scpd/scpd.c:21:1: warning: unused function 'da_handle_start_run_event_scpd' [-Wunused-function] 21 | DECLARE_DA_MON_PER_CPU(scpd, unsigned char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/rv/da_monitor.h:536:48: note: expanded from macro 'DECLARE_DA_MON_PER_CPU' 536 | DECLARE_DA_MON_INIT_PER_CPU(name, type) \ | ^ 537 | DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT(name, type) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/rv/da_monitor.h:438:20: note: expanded from macro '\ DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT' 438 | static inline bool da_handle_start_run_event_##name(enum events_##name event) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :2:1: note: expanded from here 2 | da_handle_start_run_event_scpd | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. -- In file included from kernel/trace/rv/monitors/wip/wip.c:3: In file included from include/linux/tracepoint.h:22: In file included from include/linux/static_call.h:135: In file included from include/linux/cpu.h:17: >> include/linux/node.h:124:6: warning: no previous prototype for function 'register_memory_blocks_under_node_early' [-Wmissing-prototypes] 124 | void register_memory_blocks_under_node_early(int nid) | ^ include/linux/node.h:124:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 124 | void register_memory_blocks_under_node_early(int nid) | ^ | static kernel/trace/rv/monitors/wip/wip.c:20:1: warning: unused function 'da_handle_start_run_event_wip' [-Wunused-function] 20 | DECLARE_DA_MON_PER_CPU(wip, unsigned char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/rv/da_monitor.h:536:48: note: expanded from macro 'DECLARE_DA_MON_PER_CPU' 536 | DECLARE_DA_MON_INIT_PER_CPU(name, type) \ | ^ 537 | DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT(name, type) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/rv/da_monitor.h:438:20: note: expanded from macro '\ DECLARE_DA_MON_MONITOR_HANDLER_IMPLICIT' 438 | static inline bool da_handle_start_run_event_##name(enum events_##name event) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :172:1: note: expanded from here 172 | da_handle_start_run_event_wip | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. .. -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki