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 5E48AC021A0 for ; Sat, 15 Feb 2025 16:44:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B5FE528000A; Sat, 15 Feb 2025 11:44:15 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B0FFC280008; Sat, 15 Feb 2025 11:44:15 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9FE4F28000A; Sat, 15 Feb 2025 11:44:15 -0500 (EST) 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 84899280008 for ; Sat, 15 Feb 2025 11:44:15 -0500 (EST) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 0EBEC160E83 for ; Sat, 15 Feb 2025 16:44:15 +0000 (UTC) X-FDA: 83122751670.25.42A99FE Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by imf16.hostedemail.com (Postfix) with ESMTP id 32A71180014 for ; Sat, 15 Feb 2025 16:44:11 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="R2AJ5A/p"; spf=pass (imf16.hostedemail.com: domain of lkp@intel.com designates 198.175.65.15 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=1739637853; 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=tgr0tixGqiyl/hLmw13S0TxGyKg9bcbTfIFxiEKh/sE=; b=t6s4qQbGubzHtQE2RvcgkrLpoFwm9l9LvEgDFnEyfhpaqwSxIu03MHUZlzNEEsNANuVr2U 1HAXPJ+yKLYmJ1xywaN7j/8BG/Uh/t8Mv3yyAUdWL8zTgw4WgBJ2KS78rUXsqiXjtehHXo CSijM5Lel4XmBLhh/sDSC4MrVX2pr8A= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="R2AJ5A/p"; spf=pass (imf16.hostedemail.com: domain of lkp@intel.com designates 198.175.65.15 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=1739637853; a=rsa-sha256; cv=none; b=51iacD8DwhlETqgeyaEpgaTXiyvpC2pBQ5TqJ2RblQqIqmMkqxzC3TS3rYZtU0E4t0rSG2 x/bb6AtDpY84IRagEk/mPqztpsGK7B5f3MN06PxqEwAeMYOQz/9YESwri70hcl0hdWkjnr QQIbQ4E37yzDbN9oDbYjiA2n3GOVWO0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1739637853; x=1771173853; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+l7+iy0DBJq4VnUr+KEYWt2/mvZ9DMngN/x4L6oUq8Q=; b=R2AJ5A/pnoyB05UcHQ34DysCcIZEsN+mYLM8fNInbxu026S0ORNdQlcG OKgPd7LS7aDhWYMIH8a253CkgDJ0pKbETsWvFxtZadjvhaYbs8W5mQBqA HHb9Uq5t43cT8os4cMAaPzc620x3crlbGOUl2pb3CfzzlIjrRlWuGB+Lv G9Bflpw9r4K/gsePrl46Z7A9I8gXeyHm7uTjQikJzQPn8wiuQVG4JkdQg VWP06KELLABeloq4OlFuxR0GK8VEEb+zDOM61ofKfET7D4r/hOlXFRkx8 J2NYuBNHOlb3cuUkdBcKTKPO7c9HUUflHqcSjMoOKhOInmMJ2G4gzH8+0 A==; X-CSE-ConnectionGUID: TxSygZ3xShS9o+kQvKai+w== X-CSE-MsgGUID: JoU27ZgtSRCVFFECDN/n/w== X-IronPort-AV: E=McAfee;i="6700,10204,11346"; a="44021018" X-IronPort-AV: E=Sophos;i="6.13,289,1732608000"; d="scan'208";a="44021018" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2025 08:44:11 -0800 X-CSE-ConnectionGUID: Mg/qGwZ0Tr+LNeAcUMqnkQ== X-CSE-MsgGUID: CoKoADpWQ4m5EG+HHRW34g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="118352535" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 15 Feb 2025 08:44:06 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1tjLGu-001B0F-2d; Sat, 15 Feb 2025 16:44:04 +0000 Date: Sun, 16 Feb 2025 00:43:43 +0800 From: kernel test robot To: Kairui Song , linux-mm@kvack.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Andrew Morton , Linux Memory Management List , Chris Li , Barry Song , Hugh Dickins , Yosry Ahmed , "Huang, Ying" , Baoquan He , Nhat Pham , Johannes Weiner , Kalesh Singh , linux-kernel@vger.kernel.org, Kairui Song Subject: Re: [PATCH 7/7] mm, swap: simplify folio swap allocation Message-ID: <202502160013.l8ZYewQK-lkp@intel.com> References: <20250214175709.76029-8-ryncsn@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250214175709.76029-8-ryncsn@gmail.com> X-Rspamd-Queue-Id: 32A71180014 X-Stat-Signature: 7419rcmr7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UGjuVfF6wyZFxlkVLgBYAd0daIXvzFFcoDFsmujEjNX8yqWZzIQ4WUgVspRaO03EqLUEKlV5709DQMuQtsH6D8Tq0VFQSUIGkJNh132Y1jWCpXajPssje6trdF5ntI9cyTSOgnk1ymiBN19QLt5BEAQvykST6sSq0esdJeEf/B/fQfvXYBi20ARX9vdbEjBlUaRXPl6aYx2rD4E5C5cnXyjp5m6h+9VtC223zKVk2pz+nfF1nyPUndMkLrG0+pe1UFZRb2lDjIqp6XpDSAWqGQJkAlgloRhff6lE+wdVkygRz914Q7s0Qr8TYnvlsUnIFm5hERAvoNzpDYtIm5+jOqfixo 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 Kairui, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/Kairui-Song/mm-swap-avoid-reclaiming-irrelevant-swap-cache/20250215-020239 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20250214175709.76029-8-ryncsn%40gmail.com patch subject: [PATCH 7/7] mm, swap: simplify folio swap allocation config: x86_64-buildonly-randconfig-002-20250215 (https://download.01.org/0day-ci/archive/20250216/202502160013.l8ZYewQK-lkp@intel.com/config) compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250216/202502160013.l8ZYewQK-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/202502160013.l8ZYewQK-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/x86/kernel/asm-offsets.c:14: In file included from include/linux/suspend.h:5: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:21: In file included from include/linux/mm.h:2208: include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from arch/x86/kernel/asm-offsets.c:14: In file included from include/linux/suspend.h:5: >> include/linux/swap.h:591:1: error: expected identifier or '(' 591 | { | ^ 4 warnings and 1 error generated. make[3]: *** [scripts/Makefile.build:102: arch/x86/kernel/asm-offsets.s] Error 1 shuffle=2496405435 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1264: prepare0] Error 2 shuffle=2496405435 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:251: __sub-make] Error 2 shuffle=2496405435 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:251: __sub-make] Error 2 shuffle=2496405435 make: Target 'prepare' not remade because of errors. vim +591 include/linux/swap.h 8334b96221ff0d Minchan Kim 2015-09-08 589 f8d9ff0d052908 Kairui Song 2025-02-15 590 static bool folio_alloc_swap(struct folio *folio, gfp_t gfp_mask); ^1da177e4c3f41 Linus Torvalds 2005-04-16 @591 { f8d9ff0d052908 Kairui Song 2025-02-15 592 return false; ^1da177e4c3f41 Linus Torvalds 2005-04-16 593 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 594 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki