From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7F0E942D751 for ; Fri, 17 Jul 2026 15:25:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784301918; cv=none; b=bBSEWs9PLTa4KhvyPp3Kfa2a3sLGpDzgQrKC2DNi+Oy57ZSAag5l52wCT2hrt6yQRrxdWuxiGXiSGOqMYISXFDH/zS1W5COFRWrEyCPMKo020D9t/7z9o/QZB2ucq6/5r8R6ame/CoODECFVpUq8+5wuT99xxXlKWnXh297T2XA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784301918; c=relaxed/simple; bh=z+YWDXIGPujDw4Q2Q/usa1Byy6OArWai6eg3HgI6YlU=; h=Date:From:To:Cc:Subject:Message-ID; b=YUUkl98nOQCO/IlEnC6tXHpJ4zzNq7WcoECZIfTvDM8JNrdVgDptkqUq2MScSg9SnoDYUa5tjuPbpO0z9QbGi+N3bPfPRrFYBBFNgZ6tWnpY4xI3Vw59l485YXabX75S0y096brFdnilFxLb8ORSR1kwEPSd2T1yUalVektea1o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=WsEWF5+z; arc=none smtp.client-ip=198.175.65.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="WsEWF5+z" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1784301913; x=1815837913; h=date:from:to:cc:subject:message-id; bh=z+YWDXIGPujDw4Q2Q/usa1Byy6OArWai6eg3HgI6YlU=; b=WsEWF5+zpHm7ZWw79OA+n+Si5ffHUfCYn4RvBL3BgIJ0pmJuNVqNnwlb 3tZEr3zyNxaEOZ2nMrsyAH2TlxPwkUpO0bqNNvDbrTSfb5cf6nZV8mET1 GLxPzqn27WgXk02Z8/IbaMXDUx1YOViuDLHVNkDJx3c+IpC4FA5Rzh0Uf iu5n9wCMvIkyjt45b5ly91c8XkBEATQVLeMQxl4QlFdNtjUB4sbuHgB7G pKUiAlSUd+ah2rMaNjjy7Rpm/JcslyBp+Tha6zFNPRKS00rynfuelq0mR 4qNh6R4EA8+xl8PQLeYK0uTcNR8muoJllJbTD1xBz/4f7VZkEMXntfoCI g==; X-CSE-ConnectionGUID: T7Ko109bRxqv+C3OaJd9Uw== X-CSE-MsgGUID: DHlYWc73TayTZUCvE4dm3w== X-IronPort-AV: E=McAfee;i="6800,10657,11848"; a="85175196" X-IronPort-AV: E=Sophos;i="6.25,169,1779174000"; d="scan'208";a="85175196" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2026 08:25:10 -0700 X-CSE-ConnectionGUID: 0wGYh3JGTz6un9FQj6Nbbw== X-CSE-MsgGUID: W3x+rs42Thmn3Qgp6pjIvQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,169,1779174000"; d="scan'208";a="256894347" Received: from lkp-server02.sh.intel.com (HELO ea128546eb3d) ([10.239.97.151]) by orviesa007.jf.intel.com with ESMTP; 17 Jul 2026 08:25:08 -0700 Received: from kbuild by ea128546eb3d with local (Exim 4.98.2) (envelope-from ) id 1wkkQz-00000000SsM-2kNF; Fri, 17 Jul 2026 15:25:05 +0000 Date: Fri, 17 Jul 2026 23:24:16 +0800 From: kernel test robot To: Marco Elver Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, "Vlastimil Babka (SUSE)" , "Harry Yoo (Oracle)" Subject: fs/namei.c:142:16: sparse: sparse: cast truncates bits from constant value (123456789abcdef becomes 89abcdef) Message-ID: <202607172359.RRXiDyop-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fce2dfa773ced15f27dd27cd0b482a7473cdcf2a commit: feb662d9168b63e1d4c02671ec96005410c6f3ce slab: support for compiler-assisted type-based slab cache partitioning date: 9 weeks ago config: i386-randconfig-r123-20260717 (https://download.01.org/0day-ci/archive/20260717/202607172359.RRXiDyop-lkp@intel.com/config) compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211) sparse: v0.6.5-rc1 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260717/202607172359.RRXiDyop-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 | Fixes: feb662d9168b ("slab: support for compiler-assisted type-based slab cache partitioning") | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202607172359.RRXiDyop-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) fs/namei.c:159:33: sparse: sparse: undefined identifier '__builtin_infer_alloc_token' fs/namei.c:159:33: sparse: sparse: undefined identifier '__builtin_infer_alloc_token' fs/namei.c:159:33: sparse: sparse: undefined identifier '__builtin_infer_alloc_token' fs/namei.c:793:12: sparse: sparse: undefined identifier '__builtin_infer_alloc_token' fs/namei.c:793:12: sparse: sparse: undefined identifier '__builtin_infer_alloc_token' fs/namei.c:793:12: sparse: sparse: undefined identifier '__builtin_infer_alloc_token' >> fs/namei.c:142:16: sparse: sparse: cast truncates bits from constant value (123456789abcdef becomes 89abcdef) >> fs/namei.c:142:16: sparse: sparse: cast truncates bits from constant value (123456789abcdef becomes 89abcdef) fs/namei.c:147:25: sparse: sparse: cast truncates bits from constant value (123456789abcdef becomes 89abcdef) vim +142 fs/namei.c c3a3577cdb351e Al Viro 2025-11-19 139 c3a3577cdb351e Al Viro 2025-11-19 140 static inline struct filename *alloc_filename(void) c3a3577cdb351e Al Viro 2025-11-19 141 { 7ca83f8ebe8670 Mateusz Guzik 2025-12-01 @142 return kmem_cache_alloc(names_cache, GFP_KERNEL); c3a3577cdb351e Al Viro 2025-11-19 143 } 91a27b2a756784 Jeff Layton 2012-10-10 144 :::::: The code at line 142 was first introduced by commit :::::: 7ca83f8ebe86706c4164ac21871f4a5adb86a430 fs: hide names_cache behind runtime const machinery :::::: TO: Mateusz Guzik :::::: CC: Al Viro -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki