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 322C5C25B75 for ; Fri, 31 May 2024 19:28:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A19B16B00BD; Fri, 31 May 2024 15:28:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9C9CB6B00BE; Fri, 31 May 2024 15:28:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 891536B00BF; Fri, 31 May 2024 15:28:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 69E8C6B00BD for ; Fri, 31 May 2024 15:28:04 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id E8277C0C1F for ; Fri, 31 May 2024 19:28:03 +0000 (UTC) X-FDA: 82179676446.01.9A3E36A Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) by imf15.hostedemail.com (Postfix) with ESMTP id 2BB80A000B for ; Fri, 31 May 2024 19:28:00 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=gF+opkWf; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf15.hostedemail.com: domain of lkp@intel.com designates 192.198.163.18 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=1717183681; 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=xu4yipSgAww19CdiEzbJVXMOy7KemwEePm//YJDF2lU=; b=5VsQP3/3oAUMVqAjqLQdRJmVHmYxGuPdBVT+tO2y1sk/bgtEWJ0rvLMkP6RqqUhVysRkK6 3H9+qaCRvLn3RtZavQsEL6CzRBPvikqIHThEUsPUrEIk7WnkxnwKbmRnkAcN3FpcSfdy5b cI8tvW4ZAmJDzpki3bprBKkNe+6/StU= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=gF+opkWf; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf15.hostedemail.com: domain of lkp@intel.com designates 192.198.163.18 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1717183682; a=rsa-sha256; cv=none; b=qqfMbDBQuAOECr3PQrpWLqJWGK5zMynhC+cV72iWW4gd3qIMniC9ME/g+qJBysIrnL4YnZ vdfCrdGFBfU0+7EMoTAtMssXrxD4qiVmqSCCwbQbw0bd6ofE0EnfVvt8j7r65n4Ap8OeRF 68qL4R/65Xny5JP3ei0TonH5hf5cT0Y= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717183681; x=1748719681; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=RF7m/eMaL/E97jUQyd+gOCRQbAW9R0vzgMkqgXGP+RU=; b=gF+opkWfhS2uvbz1kuvZgxtYAQ02x9eFdss4o0tUZPUo5I0bltr1gDO/ 3AW0Qz/zeSDgMWoGNrNBYIF1ZXAlnApg/luwrBCmfnmycGzBqjswMuZyT HYt/DUk4l95bvhBcFjqzHgH4q7w8kX9kJYQLERr8wYn4lW3XplzzDU3dS rKpQCuZN4gGTy5HMwZn4yUTbjYImtqL5KR5tWxRxoNHkIoFHYr6D4tLqT Hs1RIf7Qgl4MOh/PqvsAQg+tywzVtllSg5i+DumSW82Pyo1c+fcEF6fe2 0yLR6162vgGtchbyZNftq4MyRqxWi70X2mFWWXMs0LR1aytaI4QGAJ8Yw g==; X-CSE-ConnectionGUID: 4gkBMCNjTQKU7RuqjiJIlA== X-CSE-MsgGUID: 7wmOT5IoRZesk11BH8SZEw== X-IronPort-AV: E=McAfee;i="6600,9927,11089"; a="13498474" X-IronPort-AV: E=Sophos;i="6.08,205,1712646000"; d="scan'208";a="13498474" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2024 12:27:59 -0700 X-CSE-ConnectionGUID: p5Za7zBeR4CIiD+gCTtvZA== X-CSE-MsgGUID: kec2dWNeR2mdEuFViOhSDQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,205,1712646000"; d="scan'208";a="36196331" Received: from unknown (HELO 0610945e7d16) ([10.239.97.151]) by orviesa010.jf.intel.com with ESMTP; 31 May 2024 12:27:57 -0700 Received: from kbuild by 0610945e7d16 with local (Exim 4.96) (envelope-from ) id 1sD7ut-000Hip-0y; Fri, 31 May 2024 19:27:55 +0000 Date: Sat, 1 Jun 2024 03:26:56 +0800 From: kernel test robot To: Alex Rusuf , damon@lists.linux.dev Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, sj@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] mm/damon/core: implement multi-context support Message-ID: <202406010337.eZEQ5XmV-lkp@intel.com> References: <20240531122320.909060-3-yorha.op@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240531122320.909060-3-yorha.op@gmail.com> X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 2BB80A000B X-Stat-Signature: 4tgqx1kph6tj6ewtnurxub3pdbdso3tk X-HE-Tag: 1717183680-94466 X-HE-Meta: U2FsdGVkX1/h0+kpxv5wWb9DKh8wN+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i8oMN2JRo5koONu/Z75L12a4XN3bv0kPGU/n8kF09Rv5nLwrA92b7hgef/i/GjmvGUb2AOxJv2mbAn4d6aojs7KJVJE/TssfJbrxbXg749m81VWMv5tattTawm4HXEp0LCBmwI1jCROADqcDmTZr78WPCkMS3kYqAz2/6PYhHw4d3j8SsBIFyVI0Ww7X87W9EuFVcNhM9lT5A3COyZGQHhdqItBSP4y9Xq0NGB2Gjar2xhQ7yrL/XcUZmZoWlQ5ocer1DYK0q8zaCqziNk5Xfo9nfbQqGByHGrcNVFKHCt5f5JfQYL4QXzOyWw0n1YTsAaiyyDsH/G94Tnlk= 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 Alex, kernel test robot noticed the following build warnings: [auto build test WARNING on v6.9] [also build test WARNING on linus/master next-20240531] [cannot apply to sj/damon/next akpm-mm/mm-everything v6.10-rc1] [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/Alex-Rusuf/mm-damon-core-add-struct-kdamond-abstraction-layer/20240531-202756 base: v6.9 patch link: https://lore.kernel.org/r/20240531122320.909060-3-yorha.op%40gmail.com patch subject: [PATCH v2 2/2] mm/damon/core: implement multi-context support config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20240601/202406010337.eZEQ5XmV-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project bafda89a0944d947fc4b3b5663185e07a397ac30) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240601/202406010337.eZEQ5XmV-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/202406010337.eZEQ5XmV-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from mm/damon/dbgfs.c:10: In file included from include/linux/damon.h:11: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:9: 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:328: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 547 | 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] 560 | 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' 37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) | ^ In file included from mm/damon/dbgfs.c:10: In file included from include/linux/damon.h:11: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:9: 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:328: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 573 | 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' 35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ In file included from mm/damon/dbgfs.c:10: In file included from include/linux/damon.h:11: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:9: 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:328: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 584 | __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] 594 | __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] 604 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ In file included from mm/damon/dbgfs.c:10: In file included from include/linux/damon.h:11: In file included from include/linux/memcontrol.h:21: In file included from include/linux/mm.h:2210: include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ >> mm/damon/dbgfs.c:400:13: warning: unknown pragma ignored [-Wunknown-pragmas] 400 | #pragma GCC push_options | ^ mm/damon/dbgfs.c:401:13: warning: unknown pragma ignored [-Wunknown-pragmas] 401 | #pragma GCC optimize("O0") | ^ mm/damon/dbgfs.c:446:13: warning: unknown pragma ignored [-Wunknown-pragmas] 446 | #pragma GCC pop_options | ^ >> mm/damon/dbgfs.c:1125:13: warning: variable 'ret' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1125 | } else if (!strncmp(kbuf, "off", count)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mm/damon/dbgfs.c:1132:7: note: uninitialized use occurs here 1132 | if (!ret) | ^~~ mm/damon/dbgfs.c:1125:9: note: remove the 'if' if its condition is always false 1125 | } else if (!strncmp(kbuf, "off", count)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1126 | dbgfs_stop_kdamonds(); | ~~~~~~~~~~~~~~~~~~~~~~ 1127 | } else { | ~~~~~~ mm/damon/dbgfs.c:1101:13: note: initialize the variable 'ret' to silence this warning 1101 | ssize_t ret; | ^ | = 0 mm/damon/dbgfs.c:893:13: warning: unused function 'dbgfs_destroy_damon_ctx' [-Wunused-function] 893 | static void dbgfs_destroy_damon_ctx(struct damon_ctx *ctx) | ^~~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. vim +400 mm/damon/dbgfs.c 399 > 400 #pragma GCC push_options 401 #pragma GCC optimize("O0") 402 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki