* [brauner-vfs:vfs.all 11/11] fs/fcntl.c:1172:2: error: call to '__compiletime_assert_384' declared with 'error' attribute: BUILD_BUG_ON failed: 21 - 1 != HWEIGHT32( (VALID_OPENAT2_FLAGS & ~(O_NONBLOCK | O_NDELAY)) | __FMODE_EXEC)
@ 2026-05-14 15:31 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-14 15:31 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "__compiletime_assert_NNN"
::::::
BCC: lkp@intel.com
CC: llvm@lists.linux.dev
CC: oe-kbuild-all@lists.linux.dev
CC: Christian Brauner <christianvanbrauner@gmail.com>
TO: Christian Brauner <brauner@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
head: 1202b9c177076b8c00ba826717a8d7023e4c8f98
commit: 1202b9c177076b8c00ba826717a8d7023e4c8f98 [11/11] Merge branch 'vfs-7.2.misc' into vfs.all
:::::: branch date: 8 hours ago
:::::: commit date: 8 hours ago
config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20260514/202605142356.aUnJ1v8s-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260514/202605142356.aUnJ1v8s-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202605142356.aUnJ1v8s-lkp@intel.com/
All errors (new ones prefixed by >>):
>> fs/fcntl.c:1172:2: error: call to '__compiletime_assert_384' declared with 'error' attribute: BUILD_BUG_ON failed: 21 - 1 != HWEIGHT32( (VALID_OPENAT2_FLAGS & ~(O_NONBLOCK | O_NDELAY)) | __FMODE_EXEC)
1172 | BUILD_BUG_ON(21 - 1 /* for O_RDONLY being 0 */ !=
| ^
include/linux/build_bug.h:51:2: note: expanded from macro 'BUILD_BUG_ON'
51 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^
include/linux/build_bug.h:40:37: note: expanded from macro 'BUILD_BUG_ON_MSG'
40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^
include/linux/compiler_types.h:699:2: note: expanded from macro 'compiletime_assert'
699 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:687:2: note: expanded from macro '_compiletime_assert'
687 | __compiletime_assert(condition, msg, prefix, suffix)
| ^
include/linux/compiler_types.h:680:4: note: expanded from macro '__compiletime_assert'
680 | prefix ## suffix(); \
| ^
<scratch space>:37:1: note: expanded from here
37 | __compiletime_assert_384
| ^
1 error generated.
vim +1172 fs/fcntl.c
^1da177e4c3f415 Linus Torvalds 2005-04-16 1164
454eedb8901da89 Wu Fengguang 2010-08-10 1165 static int __init fcntl_init(void)
^1da177e4c3f415 Linus Torvalds 2005-04-16 1166 {
3ab04d5cf9736b7 James Bottomley 2010-09-09 1167 /*
3ab04d5cf9736b7 James Bottomley 2010-09-09 1168 * Please add new bits here to ensure allocation uniqueness.
3ab04d5cf9736b7 James Bottomley 2010-09-09 1169 * Exceptions: O_NONBLOCK is a two bit define on parisc; O_NDELAY
3ab04d5cf9736b7 James Bottomley 2010-09-09 1170 * is defined as O_NONBLOCK on some platforms and not on others.
3ab04d5cf9736b7 James Bottomley 2010-09-09 1171 */
3adfed795a99d74 Dorjoy Chowdhury 2026-03-28 @1172 BUILD_BUG_ON(21 - 1 /* for O_RDONLY being 0 */ !=
80f18379a7c350c Christoph Hellwig 2017-04-27 1173 HWEIGHT32(
3adfed795a99d74 Dorjoy Chowdhury 2026-03-28 1174 (VALID_OPENAT2_FLAGS & ~(O_NONBLOCK | O_NDELAY)) |
ebe559609d7829b Al Viro 2024-11-15 1175 __FMODE_EXEC));
454eedb8901da89 Wu Fengguang 2010-08-10 1176
^1da177e4c3f415 Linus Torvalds 2005-04-16 1177 fasync_cache = kmem_cache_create("fasync_cache",
839d68206de869b Vasily Averin 2021-09-02 1178 sizeof(struct fasync_struct), 0,
839d68206de869b Vasily Averin 2021-09-02 1179 SLAB_PANIC | SLAB_ACCOUNT, NULL);
^1da177e4c3f415 Linus Torvalds 2005-04-16 1180 return 0;
^1da177e4c3f415 Linus Torvalds 2005-04-16 1181 }
^1da177e4c3f415 Linus Torvalds 2005-04-16 1182
:::::: The code at line 1172 was first introduced by commit
:::::: 3adfed795a99d740cdb3ed71eae6ef03ce5431c8 openat2: new OPENAT2_REGULAR flag support
:::::: TO: Dorjoy Chowdhury <dorjoychy111@gmail.com>
:::::: CC: Christian Brauner <brauner@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-14 15:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-14 15:31 [brauner-vfs:vfs.all 11/11] fs/fcntl.c:1172:2: error: call to '__compiletime_assert_384' declared with 'error' attribute: BUILD_BUG_ON failed: 21 - 1 != HWEIGHT32( (VALID_OPENAT2_FLAGS & ~(O_NONBLOCK | O_NDELAY)) | __FMODE_EXEC) kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.