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 E5881C001DE for ; Wed, 9 Aug 2023 10:28:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 59E3E6B0074; Wed, 9 Aug 2023 06:28:38 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5002C6B0075; Wed, 9 Aug 2023 06:28:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3C71B8E0001; Wed, 9 Aug 2023 06:28:38 -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 2AA0F6B0074 for ; Wed, 9 Aug 2023 06:28:38 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id D9595B2586 for ; Wed, 9 Aug 2023 10:28:37 +0000 (UTC) X-FDA: 81104192274.21.B8FD878 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by imf07.hostedemail.com (Postfix) with ESMTP id C61BA4000D for ; Wed, 9 Aug 2023 10:28:35 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=D9yD+c+Z; spf=pass (imf07.hostedemail.com: domain of lkp@intel.com designates 134.134.136.24 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=1691576916; 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=BMs6JhO7hqkAzwELV1Dg16oL9T92lfj3ONAJMWPREwM=; b=Dly7aBiDAjEuu/E/Mq1PjfB+XS0ADb4Ydluct7YTr7wU3AWUgDmTVFpD0orYQP5cbJgn5A ku1fJ3tAFJT77fo4dqzpOBz2//DXf3aD/QrhdhwDmxwAUwj1Y2PgLdxxCvqtSoymYLD8bs /b0dF12lPirce42vLVzKxtZbqGvogLc= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691576916; a=rsa-sha256; cv=none; b=WeBU4OkyQQMkZSGJIspzlSXhooLWd1/9U/gHBcqfR5VH9kV2euueuCNHCIKvYhvu2t8hOi yMGdXUJWkSYxee5bEx9bPhKEzCIFmSlDeJe4ROyEUQBVis1dpZHH7jTD23I+mIC5DqZE7N uMu+er1Utq8NT510OLqpyRjpzzoKaDo= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=D9yD+c+Z; spf=pass (imf07.hostedemail.com: domain of lkp@intel.com designates 134.134.136.24 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691576915; x=1723112915; h=date:from:to:cc:subject:message-id:mime-version; bh=PvLYaZGzz6FFINZj9Rcyqlp0OMziihzlSIjscHEOK6U=; b=D9yD+c+ZbapIfVTDNFH8EueuhUyZUpqQOzLEbmYiEd6R5+MQWGLb4Auf 945j4cR+DbCK0lrGYEpSj6wqfPz3mWzDExyhKmelYNn1C+iAtjq+Oq4UG 0we6lUg0gPAPZFl+hRZewhPgGunUDkbawcrpxfP3BKfMcerZUwzXgwskQ M+y4g7fFEjfZG7UA+8hj/qrF4mcEiTew4btOiNbY0QqEJeRevjfqFF7vo 1ilLCxJ51AeuYDJqCl9c7Tk4Deuoi1sVaLbAA3sGqAaVKQTKGFDAcpr+a 2FG8QbeFJPCXwy4z1nBBU3yn0M+QplvH0tz6jHmJu+R2S3xa3Oht61Jo7 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10795"; a="373867952" X-IronPort-AV: E=Sophos;i="6.01,159,1684825200"; d="scan'208";a="373867952" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2023 03:28:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10795"; a="821798825" X-IronPort-AV: E=Sophos;i="6.01,159,1684825200"; d="scan'208";a="821798825" Received: from lkp-server01.sh.intel.com (HELO d1ccc7e87e8f) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 09 Aug 2023 03:28:29 -0700 Received: from kbuild by d1ccc7e87e8f with local (Exim 4.96) (envelope-from ) id 1qTgQW-00060b-1O; Wed, 09 Aug 2023 10:28:28 +0000 Date: Wed, 9 Aug 2023 18:27:51 +0800 From: kernel test robot To: Marco Elver Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Andrew Morton Subject: [linux-next:master 8173/8441] include/linux/list.h:53:13: warning: '__preserve_most__' calling convention is not supported for this target Message-ID: <202308091820.0dPY7D6f-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: C61BA4000D X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: ftazwdhpjqpddbp8r7p8uohbxkb1xiob X-HE-Tag: 1691576915-924747 X-HE-Meta: U2FsdGVkX18bQEVCjSE/fenAVA9BnJ3vJFz13aF9V49a9myPfIX7QSu4LMjWNzL4IjTkf/rhprodJkf0ZH26HS3B410NRpRoTdpMeaABPdY2zyK2rStJISjAWylsj12ThUzsuC6uOIY4W+Kn1qcJ9A+FEm3a8KgWziTXirG//6IP86gOOdU+2hSfVh7neHrbI5w81y+B6qG4vzK+m+OlB9Fzb9QXuoSjKKQpFVeGX9nHikOiHEgZHrcKLLx+vxp4Lw3q9C/BQw5uumtF/AqervNd0SyJVGWK1UHyh6d07xb/7L7iskZTJyeb6dnEWkxeKvAdWssCcp+KFXURX1r0MFnWlB5aS7YyLPpJWb1PpT0MsKp266OxaSovk7Y02jrHac+KeH0dLk3WwZgdN6gGwdGiLx+5wQLTKIO5Qo69xTC4Msc0m8Sc0IGmyhR3v4Q64OZ3e5R0LbJlPv+rn/ebdAGHH1DxNcoW6v22IV7NdaDIsC9Uh3hBb+BoSK4GVe4ZhDKoY9ixLBIg9y5tVvkABqwueA82f9NkI9QYuGE+6n5M1GaRfchti5tIMXlqH4dC3hTlxiVZ5AxIQxyz7SBu3gT5pBQpIt2MpVU+YeQi+7feBtpWKv5weOKuI2d7CbMIh1lLozXTtj3jbOt1cFjfmCFF7DTyh8WBIHB6LFWZ+PoXZTMXF6dRk3e4LfyEMCGvOSC4PN691Rf6miJTsMWB6AYjgIoj381E6dmONcEiFrLy+Wv6X3f+5xp8L8R9uvpCj9IvNvjFJu+ehoBPok02BpZc/NBuKiXldjkCLnSU9GzqSvhg0DcgSp6hFwddbH9+4EAdErEKONHlWT4oz0Z4u/tudMKF3nzjugQzdCMZcveWGmvvUzWCG/DXfMRKKpm5Kszn9tn7aI67YyxwcNcJHlOkowT2Dd2O9YsWU+fjXePZmGMc5ZSL/vWCGKnz6uiTl+iuB7FiOwnJHmySMnh a89nhUiB XEDhl6HMAS6rrDanF3qLL8d6yLSqtBZkMcQH7eut2fzVQh/GJe/puv4dqnRTu5RtvI3IGBq9w8pRQIev5+dKTCvpBuePX9nYXszX0ZkJLBQoN/roHe0j2qS79fffyJLU6nAkwMXjSWVIqM0d4S1wSNYP+PdRr28sbLyJ458MVOqYVwzo+jL8YPQimNRdqCcqXWfmEurdO3czmQ518p6XPpcAwO56zqIK+1dhLHb9NhAP3KT0bB3t8UOYgClgfCx+LaFp2kj1Ksj4HjxkxHQKv1fiN/s8IZEkTZ2vXfQLcH/jdWnDJgk39v8hBdgqO0pKNN4ya0zgZ27F5VLhuUT77pzGCKgZM8k2KdPH6 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 master head: 21ef7b1e17d039053edaeaf41142423810572741 commit: fee8feb67f0b2954eb7a2a259122e43a15cf3a52 [8173/8441] list_debug: introduce CONFIG_DEBUG_LIST_MINIMAL config: hexagon-randconfig-r041-20230808 (https://download.01.org/0day-ci/archive/20230809/202308091820.0dPY7D6f-lkp@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce: (https://download.01.org/0day-ci/archive/20230809/202308091820.0dPY7D6f-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/202308091820.0dPY7D6f-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from arch/hexagon/kernel/asm-offsets.c:12: In file included from include/linux/compat.h:14: In file included from include/linux/sem.h:5: In file included from include/uapi/linux/sem.h:5: In file included from include/linux/ipc.h:5: In file included from include/linux/spinlock.h:56: In file included from include/linux/preempt.h:12: >> include/linux/list.h:53:13: warning: '__preserve_most__' calling convention is not supported for this target [-Wignored-attributes] extern bool __list_valid_slowpath __list_add_valid_or_report(struct list_head *new, ^ include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath' # define __list_valid_slowpath __cold __preserve_most ^ include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most' # define __preserve_most notrace __attribute__((__preserve_most__)) ^ In file included from arch/hexagon/kernel/asm-offsets.c:12: In file included from include/linux/compat.h:14: In file included from include/linux/sem.h:5: In file included from include/uapi/linux/sem.h:5: In file included from include/linux/ipc.h:5: In file included from include/linux/spinlock.h:56: In file included from include/linux/preempt.h:12: include/linux/list.h:96:13: warning: '__preserve_most__' calling convention is not supported for this target [-Wignored-attributes] extern bool __list_valid_slowpath __list_del_entry_valid_or_report(struct list_head *entry); ^ include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath' # define __list_valid_slowpath __cold __preserve_most ^ include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most' # define __preserve_most notrace __attribute__((__preserve_most__)) ^ In file included from arch/hexagon/kernel/asm-offsets.c:15: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __raw_readb(PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu' #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) ^ In file included from arch/hexagon/kernel/asm-offsets.c:15: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu' #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) ^ In file included from arch/hexagon/kernel/asm-offsets.c:15: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writeb(value, PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); ~~~~~~~~~~ ^ 8 warnings generated. -- In file included from lib/idr.c:5: In file included from include/linux/idr.h:15: In file included from include/linux/radix-tree.h:13: >> include/linux/list.h:53:13: warning: '__preserve_most__' calling convention is not supported for this target [-Wignored-attributes] extern bool __list_valid_slowpath __list_add_valid_or_report(struct list_head *new, ^ include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath' # define __list_valid_slowpath __cold __preserve_most ^ include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most' # define __preserve_most notrace __attribute__((__preserve_most__)) ^ In file included from lib/idr.c:5: In file included from include/linux/idr.h:15: In file included from include/linux/radix-tree.h:13: include/linux/list.h:96:13: warning: '__preserve_most__' calling convention is not supported for this target [-Wignored-attributes] extern bool __list_valid_slowpath __list_del_entry_valid_or_report(struct list_head *entry); ^ include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath' # define __list_valid_slowpath __cold __preserve_most ^ include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most' # define __preserve_most notrace __attribute__((__preserve_most__)) ^ 2 warnings generated. -- In file included from lib/maple_tree.c:54: In file included from include/linux/maple_tree.h:12: In file included from include/linux/rcupdate.h:27: In file included from include/linux/preempt.h:12: >> include/linux/list.h:53:13: warning: '__preserve_most__' calling convention is not supported for this target [-Wignored-attributes] extern bool __list_valid_slowpath __list_add_valid_or_report(struct list_head *new, ^ include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath' # define __list_valid_slowpath __cold __preserve_most ^ include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most' # define __preserve_most notrace __attribute__((__preserve_most__)) ^ In file included from lib/maple_tree.c:54: In file included from include/linux/maple_tree.h:12: In file included from include/linux/rcupdate.h:27: In file included from include/linux/preempt.h:12: include/linux/list.h:96:13: warning: '__preserve_most__' calling convention is not supported for this target [-Wignored-attributes] extern bool __list_valid_slowpath __list_del_entry_valid_or_report(struct list_head *entry); ^ include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath' # define __list_valid_slowpath __cold __preserve_most ^ include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most' # define __preserve_most notrace __attribute__((__preserve_most__)) ^ In file included from lib/maple_tree.c:63: In file included from include/trace/events/maple_tree.h:123: In file included from include/trace/define_trace.h:102: In file included from include/trace/trace_events.h:21: In file included from include/linux/trace_events.h:9: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __raw_readb(PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu' #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) ^ In file included from lib/maple_tree.c:63: In file included from include/trace/events/maple_tree.h:123: In file included from include/trace/define_trace.h:102: In file included from include/trace/trace_events.h:21: In file included from include/linux/trace_events.h:9: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu' #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) ^ In file included from lib/maple_tree.c:63: In file included from include/trace/events/maple_tree.h:123: In file included from include/trace/define_trace.h:102: In file included from include/trace/trace_events.h:21: In file included from include/linux/trace_events.h:9: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writeb(value, PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); ~~~~~~~~~~ ^ lib/maple_tree.c:331:21: warning: unused function 'mte_set_full' [-Wunused-function] static inline void *mte_set_full(const struct maple_enode *node) ^ lib/maple_tree.c:336:21: warning: unused function 'mte_clear_full' [-Wunused-function] static inline void *mte_clear_full(const struct maple_enode *node) ^ lib/maple_tree.c:341:20: warning: unused function 'mte_has_null' [-Wunused-function] static inline bool mte_has_null(const struct maple_enode *node) ^ lib/maple_tree.c:672:29: warning: unused function 'mas_pivot' [-Wunused-function] static inline unsigned long mas_pivot(struct ma_state *mas, unsigned char piv) ^ 12 warnings generated. -- In file included from lib/radix-tree.c:15: In file included from include/linux/cpu.h:17: In file included from include/linux/node.h:18: In file included from include/linux/device.h:15: In file included from include/linux/dev_printk.h:16: In file included from include/linux/ratelimit.h:6: In file included from include/linux/sched.h:14: In file included from include/linux/pid.h:5: In file included from include/linux/rculist.h:10: >> include/linux/list.h:53:13: warning: '__preserve_most__' calling convention is not supported for this target [-Wignored-attributes] extern bool __list_valid_slowpath __list_add_valid_or_report(struct list_head *new, ^ include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath' # define __list_valid_slowpath __cold __preserve_most ^ include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most' # define __preserve_most notrace __attribute__((__preserve_most__)) ^ In file included from lib/radix-tree.c:15: In file included from include/linux/cpu.h:17: In file included from include/linux/node.h:18: In file included from include/linux/device.h:15: In file included from include/linux/dev_printk.h:16: In file included from include/linux/ratelimit.h:6: In file included from include/linux/sched.h:14: In file included from include/linux/pid.h:5: In file included from include/linux/rculist.h:10: include/linux/list.h:96:13: warning: '__preserve_most__' calling convention is not supported for this target [-Wignored-attributes] extern bool __list_valid_slowpath __list_del_entry_valid_or_report(struct list_head *entry); ^ include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath' # define __list_valid_slowpath __cold __preserve_most ^ include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most' # define __preserve_most notrace __attribute__((__preserve_most__)) ^ lib/radix-tree.c:1136:50: warning: parameter 'slot' set but not used [-Wunused-but-set-parameter] void __rcu **radix_tree_iter_resume(void __rcu **slot, ^ 3 warnings generated. -- In file included from lib/test_ida.c:9: In file included from include/linux/idr.h:15: In file included from include/linux/radix-tree.h:13: >> include/linux/list.h:53:13: warning: '__preserve_most__' calling convention is not supported for this target [-Wignored-attributes] extern bool __list_valid_slowpath __list_add_valid_or_report(struct list_head *new, ^ include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath' # define __list_valid_slowpath __cold __preserve_most ^ include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most' # define __preserve_most notrace __attribute__((__preserve_most__)) ^ In file included from lib/test_ida.c:9: In file included from include/linux/idr.h:15: In file included from include/linux/radix-tree.h:13: include/linux/list.h:96:13: warning: '__preserve_most__' calling convention is not supported for this target [-Wignored-attributes] extern bool __list_valid_slowpath __list_del_entry_valid_or_report(struct list_head *entry); ^ include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath' # define __list_valid_slowpath __cold __preserve_most ^ include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most' # define __preserve_most notrace __attribute__((__preserve_most__)) ^ lib/test_ida.c:16:6: warning: no previous prototype for function 'ida_dump' [-Wmissing-prototypes] void ida_dump(struct ida *ida) { } ^ lib/test_ida.c:16:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void ida_dump(struct ida *ida) { } ^ static 3 warnings generated. -- In file included from lib/list_debug.c:9: >> include/linux/list.h:53:13: warning: '__preserve_most__' calling convention is not supported for this target [-Wignored-attributes] extern bool __list_valid_slowpath __list_add_valid_or_report(struct list_head *new, ^ include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath' # define __list_valid_slowpath __cold __preserve_most ^ include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most' # define __preserve_most notrace __attribute__((__preserve_most__)) ^ In file included from lib/list_debug.c:9: include/linux/list.h:96:13: warning: '__preserve_most__' calling convention is not supported for this target [-Wignored-attributes] extern bool __list_valid_slowpath __list_del_entry_valid_or_report(struct list_head *entry); ^ include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath' # define __list_valid_slowpath __cold __preserve_most ^ include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most' # define __preserve_most notrace __attribute__((__preserve_most__)) ^ >> lib/list_debug.c:20:1: warning: '__preserve_most__' calling convention is not supported for this target [-Wignored-attributes] __list_valid_slowpath ^ include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath' # define __list_valid_slowpath __cold __preserve_most ^ include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most' # define __preserve_most notrace __attribute__((__preserve_most__)) ^ lib/list_debug.c:43:1: warning: '__preserve_most__' calling convention is not supported for this target [-Wignored-attributes] __list_valid_slowpath ^ include/linux/list.h:44:39: note: expanded from macro '__list_valid_slowpath' # define __list_valid_slowpath __cold __preserve_most ^ include/linux/compiler_types.h:132:49: note: expanded from macro '__preserve_most' # define __preserve_most notrace __attribute__((__preserve_most__)) ^ 4 warnings generated. .. vim +/__preserve_most__ +53 include/linux/list.h 48 49 /* 50 * Performs the full set of list corruption checks before __list_add(). 51 * On list corruption reports a warning, and returns false. 52 */ > 53 extern bool __list_valid_slowpath __list_add_valid_or_report(struct list_head *new, 54 struct list_head *prev, 55 struct list_head *next); 56 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki