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 3C195C27C50 for ; Wed, 5 Jun 2024 01:13:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C15D36B0083; Tue, 4 Jun 2024 21:13:25 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BC4B46B0085; Tue, 4 Jun 2024 21:13:25 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A8C6C6B008C; Tue, 4 Jun 2024 21:13:25 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 8C1826B0083 for ; Tue, 4 Jun 2024 21:13:25 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 3BEB7A2043 for ; Wed, 5 Jun 2024 01:13:25 +0000 (UTC) X-FDA: 82195061970.22.3CBDCF1 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) by imf24.hostedemail.com (Postfix) with ESMTP id C6A33180003 for ; Wed, 5 Jun 2024 01:13:22 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=U+HRupe7; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf24.hostedemail.com: domain of lkp@intel.com designates 198.175.65.19 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=1717550003; 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=Emr19k5CZA5eYgpglrq3mtnMZijNV56jAzARMyz/Q20=; b=dPc0mN6Vb+wHD4Yr6FeGP0A7yKE0TlR/PCz0DPNky6PRv06tX/OiMfQtUJ75pm31/hurRw AoJ+AOrtghbE7mFKg+BiOZAo5K7kkP+Sw+KdTvTcmdGGFTDuBXLRNVFbBkZntQtEtq5fsx YmJ2UvuWBTd/X6lsOBZ8yG/sJrfxtBs= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=U+HRupe7; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf24.hostedemail.com: domain of lkp@intel.com designates 198.175.65.19 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1717550003; a=rsa-sha256; cv=none; b=1bk41zjeCFJDLrXXkaIFb1eR7LsGQZIKn67dNnTKQgYa8X7T8SuUG9dEqHlvNc0s0+3Fu4 CekGeeouGYLwXO4eM8Csimbc1jB6CRYtZ+kJCOyfwLFrVDvY47lsdvovbCZxr8jbIsMTUO eAH/05mWusg5eEEEzPWsA4Fw0jgT6aQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717550004; x=1749086004; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ZnhpO+SaaVe7SfQ18lvTRbjoL1A+aSktVBV4/zdfVPo=; b=U+HRupe70sVqcNj//lAc3LZ0wSCeJdnF0LD6sd4ODBsgJ7Wg74EDw5sJ b9dePLqb8cJ3sdAX5bVbqBi151mEJUJvtrhdw8JbpwJ2lA5zOGec4d9ua xZR4/OAKRRk0iRKwxIq9VsTzn23Jth6ZKyIbE6FrdhOdvb52cfw4VnZAf /W6fE+w3oRYuLLlKWVPvgviZbXdETC/DTZk422j6FJmybleZ2MZeuRNmp E1bi4pn2gZfz5rN+Z335aVTanmUlrGzGgoN+GuOk6Gtcc0Lv4ypNWnVLw SBqXEI3M0S53Xu197cc14GMQoTBYdhol3UlWeWbltXipHOw9gY0jXorQ3 Q==; X-CSE-ConnectionGUID: dfpPTBqzRYyg0/HMleiJWA== X-CSE-MsgGUID: p31xUw8VT3CRNziixLqvjg== X-IronPort-AV: E=McAfee;i="6600,9927,11093"; a="13972688" X-IronPort-AV: E=Sophos;i="6.08,215,1712646000"; d="scan'208";a="13972688" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2024 18:13:22 -0700 X-CSE-ConnectionGUID: /ryimpufTHep+SAbhphPnQ== X-CSE-MsgGUID: yLBGF5lvSpK5r9LkbsI3ZQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,215,1712646000"; d="scan'208";a="42363945" Received: from unknown (HELO 0610945e7d16) ([10.239.97.151]) by orviesa005.jf.intel.com with ESMTP; 04 Jun 2024 18:13:18 -0700 Received: from kbuild by 0610945e7d16 with local (Exim 4.96) (envelope-from ) id 1sEfDH-0000k3-0x; Wed, 05 Jun 2024 01:13:15 +0000 Date: Wed, 5 Jun 2024 09:12:57 +0800 From: kernel test robot To: Steven Rostedt , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Linux Memory Management List Subject: Re: [PATCH 4/5] ftrace: Convert "filter_hash" and "inc" to bool in ftrace_hash_rec_update_modify() Message-ID: <202406050838.7r32JzDI-lkp@intel.com> References: <20240604212855.046127611@goodmis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240604212855.046127611@goodmis.org> X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: C6A33180003 X-Stat-Signature: mkymo5gwodnyttmg8razbmgju49y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uSrjH6RKWQu4bsg+Mm8rE5c2SVGb5av9sBQ9VefsAzVMZkb07ydnLEn/5tqCVbjMGyXvutfazEni3x2oghxRmo4rvaKhnFz6xKv3/E0Kvw7WJL4UqKMpypNJWIM0QtnWFF0eguxHZrN0NAjcXcUB4Svam2scphueMWJcJLnhd5UFQ8/iGIoQv6pPsISfUnBfkn8/HP47BX2FSVQYS42INJMh3/f9UxKwS7zXJUy6yHQ73GYyxkISEBcII7m3Bhg4cdpAzhfRJ+RL5xzfvdWj5YXmU5dU6k2uQQGwitp32cyA5rTwG46i4IaY2lC+5hQLGT6frcqe/DnuivzZ+Qx4hED+YQf6zKVIIMnb8zwIHPh3G2XIkVluq2qxevTMWOMnK+j2IeSsVdwzsJ/qAVhQQOPjXcMMWOVm 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 Steven, 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.10-rc2 next-20240604] [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/Steven-Rostedt/ftrace-Rename-dup_hash-and-comment-it/20240605-053138 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20240604212855.046127611%40goodmis.org patch subject: [PATCH 4/5] ftrace: Convert "filter_hash" and "inc" to bool in ftrace_hash_rec_update_modify() config: s390-defconfig (https://download.01.org/0day-ci/archive/20240605/202406050838.7r32JzDI-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project d7d2d4f53fc79b4b58e8d8d08151b577c3699d4a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240605/202406050838.7r32JzDI-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/202406050838.7r32JzDI-lkp@intel.com/ All errors (new ones prefixed by >>): 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: In file included from include/linux/node.h:18: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:19: In file included from include/linux/elf.h:6: In file included from arch/s390/include/asm/elf.h:173: In file included from arch/s390/include/asm/mmu_context.h:11: In file included from arch/s390/include/asm/pgalloc.h:18: In file included from include/linux/mm.h:2245: include/linux/vmstat.h:484:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 484 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 485 | item]; | ~~~~ include/linux/vmstat.h:491:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 491 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 492 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:498:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 498 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ include/linux/vmstat.h:503:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 503 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 504 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:512:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 512 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 513 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from kernel/trace/ftrace.c:18: In file included from include/linux/clocksource.h:22: In file included from arch/s390/include/asm/io.h:93: include/asm-generic/io.h:548:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 548 | val = __raw_readb(PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:561:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 561 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/big_endian.h:37:59: note: expanded from macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) | ^ include/uapi/linux/swab.h:102:54: note: expanded from macro '__swab16' 102 | #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) | ^ In file included from kernel/trace/ftrace.c:18: In file included from include/linux/clocksource.h:22: In file included from arch/s390/include/asm/io.h:93: include/asm-generic/io.h:574:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 574 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/big_endian.h:35:59: note: expanded from macro '__le32_to_cpu' 35 | #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x)) | ^ include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ In file included from kernel/trace/ftrace.c:18: In file included from include/linux/clocksource.h:22: In file included from arch/s390/include/asm/io.h:93: include/asm-generic/io.h:585:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 585 | __raw_writeb(value, PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:595:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 595 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:605:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 605 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:693:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 693 | readsb(PCI_IOBASE + addr, buffer, count); | ~~~~~~~~~~ ^ include/asm-generic/io.h:701:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 701 | readsw(PCI_IOBASE + addr, buffer, count); | ~~~~~~~~~~ ^ include/asm-generic/io.h:709:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 709 | readsl(PCI_IOBASE + addr, buffer, count); | ~~~~~~~~~~ ^ include/asm-generic/io.h:718:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 718 | writesb(PCI_IOBASE + addr, buffer, count); | ~~~~~~~~~~ ^ include/asm-generic/io.h:727:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 727 | writesw(PCI_IOBASE + addr, buffer, count); | ~~~~~~~~~~ ^ include/asm-generic/io.h:736:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 736 | writesl(PCI_IOBASE + addr, buffer, count); | ~~~~~~~~~~ ^ >> kernel/trace/ftrace.c:1961:13: error: conflicting types for 'ftrace_hash_rec_disable_modify' 1961 | static void ftrace_hash_rec_disable_modify(struct ftrace_ops *ops, | ^ kernel/trace/ftrace.c:1384:1: note: previous declaration is here 1384 | ftrace_hash_rec_disable_modify(struct ftrace_ops *ops, int filter_hash); | ^ >> kernel/trace/ftrace.c:1967:13: error: conflicting types for 'ftrace_hash_rec_enable_modify' 1967 | static void ftrace_hash_rec_enable_modify(struct ftrace_ops *ops, | ^ kernel/trace/ftrace.c:1386:1: note: previous declaration is here 1386 | ftrace_hash_rec_enable_modify(struct ftrace_ops *ops, int filter_hash); | ^ 17 warnings and 2 errors generated. vim +/ftrace_hash_rec_disable_modify +1961 kernel/trace/ftrace.c 84261912ebee412 Steven Rostedt (Red Hat 2014-08-18 1960) 84261912ebee412 Steven Rostedt (Red Hat 2014-08-18 @1961) static void ftrace_hash_rec_disable_modify(struct ftrace_ops *ops, 5177364f840058a Steven Rostedt (Google 2024-06-04 1962) bool filter_hash) 84261912ebee412 Steven Rostedt (Red Hat 2014-08-18 1963) { 5177364f840058a Steven Rostedt (Google 2024-06-04 1964) ftrace_hash_rec_update_modify(ops, filter_hash, false); 84261912ebee412 Steven Rostedt (Red Hat 2014-08-18 1965) } 84261912ebee412 Steven Rostedt (Red Hat 2014-08-18 1966) 84261912ebee412 Steven Rostedt (Red Hat 2014-08-18 @1967) static void ftrace_hash_rec_enable_modify(struct ftrace_ops *ops, 5177364f840058a Steven Rostedt (Google 2024-06-04 1968) bool filter_hash) 84261912ebee412 Steven Rostedt (Red Hat 2014-08-18 1969) { 5177364f840058a Steven Rostedt (Google 2024-06-04 1970) ftrace_hash_rec_update_modify(ops, filter_hash, true); 84261912ebee412 Steven Rostedt (Red Hat 2014-08-18 1971) } 84261912ebee412 Steven Rostedt (Red Hat 2014-08-18 1972) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki