From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.12 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792988094; b=CqFmRg+cBADvoQlxO5YJBoEF2uUuFgwCEbjyVl4XhH7mNUvQV+Qh3I5uxSqmIYc64u/9 hTeuyS2v5nnGzaHLyQQ4Z1rAelpbm8KYV+dP2HyXLEhIeoSnMCu1VWr8jiJANPS8d9sLN hfnrSA6Ec5pXDON5OHLJyB5zMotY7tozRjZhH+RrQgk7Ax2NFc1DAkwpdDE2zitpRQSxU 1PaYFLaTIrvkVOtcbzzIdEJAE+TlYB/e+cjcduHu163lOd3DqngT68E9yqM8fNmz6aQGR P7jaFqkR3niKyYPNYhS07CFMP+vN5R5825pHMb3vV6dHWtm/6tMRrVLQwX8fiegZdzQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792988094; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:User-Agent; bh=U0lsUm6vQcC+cJrLaJ31CeRLm8PZqdXTs6jSddBx944=; b=NF5YxxczWROKQUb/cog2ZJY+elVkvyd6a1nmb7DQ97XWOVit6NFYi7UtcxXZAaosv7Qc ZPM5wFkvBfOj4l5qz/dtaTSGt8+kLDyOpbcJz3jYnoSsTA3jJXRdN34BAXEf0JksCR6/v s1GCcQbfc2+2wRhTGMhYb94fYAhJGkZPlirkwoOrrWES0oe6BHmvA0kkFMiSiLrJ/EyS9 CcofBTtfHWbpxcgGuOSfbZ4hVGUBWqIDAskpaoy4TzxI/FkXqJAwdvGUNnA6YtS5bwENH JX13eEv/essjt53KVjJQduJsXnOc/9lKRq2rR+JBBDA1+ugVvT8HCta/DHNYO/kcnqg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=UneeJXVR; arc=none smtp.remote-ip=198.175.65.12 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7EF0F606A31B for ; Mon, 26 Oct 2026 04:14:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7EF0F606A31B 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, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=UneeJXVR DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1792988092; x=1824524092; h=date:from:to:cc:subject:message-id; bh=siU+CORpgA9jgcW21HXjdoETvy5g12eYwRZdNRDN+n8=; b=UneeJXVRaw8P47ngJM28INZjPcdybgN7MU/XZZ4xTyn86a+rXzWG7Y9R /QfG3c+oqvCYn5T41rvYi266o/L/fEMjymsPlHvKp2DzyEwt+GoTkRtCH kaEBwe5LERGyG94mI62Zyp6LbqKp1RpPSTWwiF0y6NlSLEv7QzOjQH0C3 HgHu7vnYMP2mXrMU2/T1RMCOrz4XoM9twJOxZnyBE8hEv9uncLVazpE0o VZuRs/CTA5Swj3necb5a4FLLddd2tsHPTI590ZCfVhMJo1OZ5pPacCoIX RDQlKCz4dfdci0p21MPoD4kHTDWmLaLhz8iJwzQ+/mdWIDsHH/Tku4A5J w==; X-CSE-ConnectionGUID: PmQ/hR5rSSSSFxFBXEnm+w== X-CSE-MsgGUID: 4WPVqQqbSNCi3Em3PQwq+w== X-IronPort-AV: E=McAfee;i="6800,10657,11946"; a="1530325" X-IronPort-AV: E=Sophos;i="6.27,178,1787036400"; d="scan'208";a="1530325" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2026 21:14:30 -0700 X-CSE-ConnectionGUID: 2T9kM6twRYyzYk5Irladtg== X-CSE-MsgGUID: mFm6MwjRStG8Dle66q4/lQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,178,1787036400"; d="scan'208";a="4669731" Received: from igk-lkp-server01.igk.intel.com (HELO 58ca8a381a5c) ([10.211.93.152]) by fmviesa010.fm.intel.com with ESMTP; 25 Oct 2026 21:14:28 -0700 Received: from kbuild by 58ca8a381a5c with local (Exim 4.98.2) (envelope-from ) id 1xLC6L-000000003xj-3AJO; Mon, 26 Oct 2026 04:14:25 +0000 Date: Mon, 26 Oct 2026 05:13:46 +0100 From: kernel test robot To: David Collins Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Kamal Wadhwa , Jishnu Prakash , Konrad Dybcio , Stephen Boyd Subject: include/linux/compiler_types.h:631:38: error: call to '__compiletime_assert_394' declared with attribute error: FIELD_PREP: value too large for the field Message-ID: <202610260532.Zb5KDgRE-lkp@intel.com> User-Agent: s-nail v14.9.25 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 390febb5805d3bb830402679f277f1d5f309e6bc commit: 815be38ad8c8503cec8b2c0c632e975692ab42e1 spmi: spmi-pmic-arb: add support for PMIC arbiter v8 date: 9 months ago config: mips-randconfig-r2101-20261026 (https://download.01.org/0day-ci/archive/20261026/202610260532.Zb5KDgRE-lkp@intel.com/config) compiler: mips64-linux-gcc (GCC) 8.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261026/202610260532.Zb5KDgRE-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: 815be38ad8c8 ("spmi: spmi-pmic-arb: add support for PMIC arbiter v8") | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202610260532.Zb5KDgRE-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from : drivers/spmi/spmi-pmic-arb.c: In function 'periph_interrupt': >> include/linux/compiler_types.h:631:38: error: call to '__compiletime_assert_394' declared with attribute error: FIELD_PREP: value too large for the field _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ include/linux/compiler_types.h:612:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^~~~~~ include/linux/compiler_types.h:631:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^~~~~~~~~~~~~~~~~~ include/linux/bitfield.h:69:3: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ ^~~~~~~~~~~~~~~~ include/linux/bitfield.h:90:3: note: in expansion of macro '__BF_FIELD_CHECK_MASK' __BF_FIELD_CHECK_MASK(mask, val, pfx); \ ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitfield.h:137:3: note: in expansion of macro '__FIELD_PREP' __FIELD_PREP(_mask, _val, "FIELD_PREP: "); \ ^~~~~~~~~~~~ drivers/spmi/spmi-pmic-arb.c:127:3: note: in expansion of macro 'FIELD_PREP' FIELD_PREP(HWIRQ_IRQID_MASK, (irq_id)) | \ ^~~~~~~~~~ drivers/spmi/spmi-pmic-arb.c:686:12: note: in expansion of macro 'spec_to_hwirq' spec_to_hwirq(sid, per, id, apid)); ^~~~~~~~~~~~~ vim +/__compiletime_assert_394 +631 include/linux/compiler_types.h eb5c2d4b45e3d2 Will Deacon 2020-07-21 617 eb5c2d4b45e3d2 Will Deacon 2020-07-21 618 #define _compiletime_assert(condition, msg, prefix, suffix) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 619 __compiletime_assert(condition, msg, prefix, suffix) eb5c2d4b45e3d2 Will Deacon 2020-07-21 620 eb5c2d4b45e3d2 Will Deacon 2020-07-21 621 /** eb5c2d4b45e3d2 Will Deacon 2020-07-21 622 * compiletime_assert - break build and emit msg if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 623 * @condition: a compile-time constant condition to check eb5c2d4b45e3d2 Will Deacon 2020-07-21 624 * @msg: a message to emit if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 625 * eb5c2d4b45e3d2 Will Deacon 2020-07-21 626 * In tradition of POSIX assert, this macro will break the build if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 627 * supplied condition is *false*, emitting the supplied error message if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 628 * compiler has support to do so. eb5c2d4b45e3d2 Will Deacon 2020-07-21 629 */ eb5c2d4b45e3d2 Will Deacon 2020-07-21 630 #define compiletime_assert(condition, msg) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 @631 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) eb5c2d4b45e3d2 Will Deacon 2020-07-21 632 :::::: The code at line 631 was first introduced by commit :::::: eb5c2d4b45e3d2d5d052ea6b8f1463976b1020d5 compiler.h: Move compiletime_assert() macros into compiler_types.h :::::: TO: Will Deacon :::::: CC: Will Deacon -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki