* [axboe-block:for-6.15/io_uring-reg-vec 5/12] io_uring/rsrc.c:1266:2: error: call to '__compiletime_assert_555' declared with 'error' attribute: BUILD_BUG_ON failed: sizeof(struct bio_vec) > sizeof(struct iovec)
@ 2025-03-06 18:42 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-06 18:42 UTC (permalink / raw)
To: Pavel Begunkov; +Cc: llvm, oe-kbuild-all, Jens Axboe
tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-6.15/io_uring-reg-vec
head: dbc5b236b665e61bc206055f8a6d45766fbec974
commit: 0b9406095d9d362ec0113e645380ac15302cd43c [5/12] io_uring: add infra for importing vectored reg buffers
config: arm-randconfig-004-20250306 (https://download.01.org/0day-ci/archive/20250307/202503070201.nEVRL9BJ-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250307/202503070201.nEVRL9BJ-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/oe-kbuild-all/202503070201.nEVRL9BJ-lkp@intel.com/
All errors (new ones prefixed by >>):
>> io_uring/rsrc.c:1266:2: error: call to '__compiletime_assert_555' declared with 'error' attribute: BUILD_BUG_ON failed: sizeof(struct bio_vec) > sizeof(struct iovec)
1266 | BUILD_BUG_ON(sizeof(struct bio_vec) > sizeof(struct iovec));
| ^
include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^
include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^
include/linux/compiler_types.h:542:2: note: expanded from macro 'compiletime_assert'
542 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:530:2: note: expanded from macro '_compiletime_assert'
530 | __compiletime_assert(condition, msg, prefix, suffix)
| ^
include/linux/compiler_types.h:523:4: note: expanded from macro '__compiletime_assert'
523 | prefix ## suffix(); \
| ^
<scratch space>:14:1: note: expanded from here
14 | __compiletime_assert_555
| ^
>> io_uring/rsrc.c:1266:2: error: call to '__compiletime_assert_555' declared with 'error' attribute: BUILD_BUG_ON failed: sizeof(struct bio_vec) > sizeof(struct iovec)
include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^
include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^
include/linux/compiler_types.h:542:2: note: expanded from macro 'compiletime_assert'
542 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:530:2: note: expanded from macro '_compiletime_assert'
530 | __compiletime_assert(condition, msg, prefix, suffix)
| ^
include/linux/compiler_types.h:523:4: note: expanded from macro '__compiletime_assert'
523 | prefix ## suffix(); \
| ^
<scratch space>:14:1: note: expanded from here
14 | __compiletime_assert_555
| ^
>> io_uring/rsrc.c:1266:2: error: call to '__compiletime_assert_555' declared with 'error' attribute: BUILD_BUG_ON failed: sizeof(struct bio_vec) > sizeof(struct iovec)
include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^
include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^
include/linux/compiler_types.h:542:2: note: expanded from macro 'compiletime_assert'
542 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:530:2: note: expanded from macro '_compiletime_assert'
530 | __compiletime_assert(condition, msg, prefix, suffix)
| ^
include/linux/compiler_types.h:523:4: note: expanded from macro '__compiletime_assert'
523 | prefix ## suffix(); \
| ^
<scratch space>:14:1: note: expanded from here
14 | __compiletime_assert_555
| ^
3 errors generated.
vim +1266 io_uring/rsrc.c
1263
1264 void io_vec_free(struct iou_vec *iv)
1265 {
> 1266 BUILD_BUG_ON(sizeof(struct bio_vec) > sizeof(struct iovec));
1267
1268 if (!iv->iovec)
1269 return;
1270 kfree(iv->iovec);
1271 iv->iovec = NULL;
1272 iv->nr = 0;
1273 }
1274
--
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:[~2025-03-06 18:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-06 18:42 [axboe-block:for-6.15/io_uring-reg-vec 5/12] io_uring/rsrc.c:1266:2: error: call to '__compiletime_assert_555' declared with 'error' attribute: BUILD_BUG_ON failed: sizeof(struct bio_vec) > sizeof(struct iovec) kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox