* [axboe-block:io_uring-ring-resize 5/5] io_uring/memmap.c:340:26: error: invalid use of undefined type 'struct io_uring_ctx'
@ 2024-10-25 9:56 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-25 9:56 UTC (permalink / raw)
To: Jens Axboe; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git io_uring-ring-resize
head: a33a9152eb06cc15d20dc9d1def2a33b3ff88d81
commit: a33a9152eb06cc15d20dc9d1def2a33b3ff88d81 [5/5] io_uring/register: add IORING_REGISTER_RESIZE_RINGS
config: m68k-randconfig-r071-20241025 (https://download.01.org/0day-ci/archive/20241025/202410251729.DfclLBp9-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241025/202410251729.DfclLBp9-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/202410251729.DfclLBp9-lkp@intel.com/
All errors (new ones prefixed by >>):
io_uring/memmap.c: In function 'io_uring_get_unmapped_area':
>> io_uring/memmap.c:340:26: error: invalid use of undefined type 'struct io_uring_ctx'
340 | guard(mutex)(&ctx->resize_lock);
| ^~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for GET_FREE_REGION
Depends on [n]: SPARSEMEM [=n]
Selected by [m]:
- RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m]
vim +340 io_uring/memmap.c
332
333 unsigned long io_uring_get_unmapped_area(struct file *file, unsigned long addr,
334 unsigned long len, unsigned long pgoff,
335 unsigned long flags)
336 {
337 struct io_uring_ctx *ctx = file->private_data;
338 void *ptr;
339
> 340 guard(mutex)(&ctx->resize_lock);
341
342 ptr = io_uring_validate_mmap_request(file, pgoff, len);
343 if (IS_ERR(ptr))
344 return PTR_ERR(ptr);
345
346 return (unsigned long) ptr;
347 }
348
--
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:[~2024-10-25 9:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-25 9:56 [axboe-block:io_uring-ring-resize 5/5] io_uring/memmap.c:340:26: error: invalid use of undefined type 'struct io_uring_ctx' 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.