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 0438EC282D1 for ; Sun, 9 Mar 2025 03:53:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A7EB46B0082; Sat, 8 Mar 2025 22:53:50 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A2E5F6B0083; Sat, 8 Mar 2025 22:53:50 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8F5856B0085; Sat, 8 Mar 2025 22:53:50 -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 730F06B0082 for ; Sat, 8 Mar 2025 22:53:50 -0500 (EST) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id DEE7CC21FA for ; Sun, 9 Mar 2025 03:53:50 +0000 (UTC) X-FDA: 83200643820.04.93DD6B1 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by imf28.hostedemail.com (Postfix) with ESMTP id D10D2C0006 for ; Sun, 9 Mar 2025 03:53:47 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=DLeuXXJ1; spf=pass (imf28.hostedemail.com: domain of lkp@intel.com designates 198.175.65.14 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=1741492429; 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=rcHm9t/25OIn1X/2Ql0rSkDCIkZ6/anJigMf8e+0his=; b=H+3aBnLO0ovuLRpPqiSpRa2u03lyxg2riKrqlmefRsMcKtq9jB9QsSXyZclKbLuFre5LRU 7gV3+MpXaQSE6uhQt+OxINj0acIY18L2SWU2D+1v8IpIlyfdzv2/JguaxCarDk2tTqGAc9 KYtJVga+ayTFO1TfEG1vM4liKEY3s3A= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=DLeuXXJ1; spf=pass (imf28.hostedemail.com: domain of lkp@intel.com designates 198.175.65.14 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=1741492429; a=rsa-sha256; cv=none; b=TkNvbDwY2Z+ru7V5GHW2RBF7DRXZQxrFGUvwEyNY/rmdTt1KFZkHeSXN70FPtr1rh8JfGW U7AMIHYPeDxD/ONVDlZSLmeERJ0G3R7UydTm04CrXNPOXsNl60XFVSyUCuv5tyLuIP2WiC nBItpbxM4yXeQC5ZzfxWMPdCzt7fKkA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1741492428; x=1773028428; h=date:from:to:cc:subject:message-id:mime-version; bh=dthA8HMmsVMgB5EvxN3JhWFp8FewKu+23/RaTHjSQpY=; b=DLeuXXJ1uqKUU6kUHsI1wdrsKZwwcuJW99nrDy3ljalFwnWIqwoswa+I T7eJk7tSdBZsXBuDqdjhaZN+Ckw58c7GTGE2QBfsJn8Hv5pTlGAUh1DOY iFJH4du+eKRBzLx8k2F56/AIXSjBT2bN2r8+2jSMiloGk0lltr7rZEynt vcrGdndGsAf3lVgtIpBToNSvBsmEMGxf//L2azT3i3BkjA+qv5aSK5EVI Wz26tDcAJVWwXaQxF9IYv337RY9oJfQ8Oh7KVcWZAjGUKBuJ4HzusLWym 9XDjwkE+BADhPHjsF4YU5WZjuehn7Mh33Vlk2p3y6YnVmZHXK79WPJQOW g==; X-CSE-ConnectionGUID: tDn4vn6cSUG2+ZG6a7O1mA== X-CSE-MsgGUID: R2+8Cqc0Tc24h06MlMhsMg== X-IronPort-AV: E=McAfee;i="6700,10204,11367"; a="46288378" X-IronPort-AV: E=Sophos;i="6.14,233,1736841600"; d="scan'208";a="46288378" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2025 19:53:47 -0800 X-CSE-ConnectionGUID: UFQ53EYCRJykLoCCmK8HSg== X-CSE-MsgGUID: AFfx8wAcRgGIfaBmC4siaQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="156883151" Received: from lkp-server02.sh.intel.com (HELO a4747d147074) ([10.239.97.151]) by orviesa001.jf.intel.com with ESMTP; 08 Mar 2025 19:53:45 -0800 Received: from kbuild by a4747d147074 with local (Exim 4.96) (envelope-from ) id 1tr7jS-0002do-2D; Sun, 09 Mar 2025 03:53:42 +0000 Date: Sun, 9 Mar 2025 11:52:45 +0800 From: kernel test robot To: Zi Yan Cc: oe-kbuild-all@lists.linux.dev, Andrew Morton , Linux Memory Management List , Baolin Wang Subject: [akpm-mm:mm-unstable 481/507] lib/xarray.c:1251:14: error: redefinition of 'xas_try_split_min_order' Message-ID: <202503091121.RktXlKnp-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: D10D2C0006 X-Stat-Signature: o8qt3pcqaz9agwo5kudae6bd6s5keifi X-Rspam-User: X-HE-Tag: 1741492427-137644 X-HE-Meta: U2FsdGVkX18k63omGYgrMXw/PnClOPn7GA74s4ACJwDc/QGRIMV0oYPZ+O0OU3on0ccVSGnFv3ktjesbaTTSl4gwRZRggSc6pziNa3mxmbdcrSe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Uu555XipwleCHCqbr7PCoqHHqHS58o/yAFyTCGE8ArZk31nNUQT2rHFFPQgb7pWjvFJYLrfWkmgKXWKB+gALkp3NSXogdzDhD5r4HnwDATtDUc20Ij4vk3uFAf+ZeWvMDXO8KOK3RPY/gabymXHI6rHOjg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000076, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable head: 2f0c87542d97822659e81f55ae5e5cc1994f3339 commit: 835714732ae42a4b4f590316b06d06826bff2483 [481/507] mm/filemap: use xas_try_split() in __filemap_add_folio() config: i386-buildonly-randconfig-003-20250309 (https://download.01.org/0day-ci/archive/20250309/202503091121.RktXlKnp-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250309/202503091121.RktXlKnp-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/202503091121.RktXlKnp-lkp@intel.com/ All errors (new ones prefixed by >>): >> lib/xarray.c:1251:14: error: redefinition of 'xas_try_split_min_order' 1251 | unsigned int xas_try_split_min_order(unsigned int order) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from lib/xarray.c:13: include/linux/xarray.h:1587:28: note: previous definition of 'xas_try_split_min_order' with type 'unsigned int(unsigned int)' 1587 | static inline unsigned int xas_try_split_min_order(unsigned int order) | ^~~~~~~~~~~~~~~~~~~~~~~ vim +/xas_try_split_min_order +1251 lib/xarray.c 1237 1238 /** 1239 * xas_try_split_min_order() - Minimal split order xas_try_split() can accept 1240 * @order: Current entry order. 1241 * 1242 * xas_try_split() can split a multi-index entry to smaller than @order - 1 if 1243 * no new xa_node is needed. This function provides the minimal order 1244 * xas_try_split() supports. 1245 * 1246 * Return: the minimal order xas_try_split() supports 1247 * 1248 * Context: Any context. 1249 * 1250 */ > 1251 unsigned int xas_try_split_min_order(unsigned int order) 1252 { 1253 if (order % XA_CHUNK_SHIFT == 0) 1254 return order == 0 ? 0 : order - 1; 1255 1256 return order - (order % XA_CHUNK_SHIFT); 1257 } 1258 EXPORT_SYMBOL_GPL(xas_try_split_min_order); 1259 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki