[mcgrof:blk-iobuf-pool-v5-premap-iova 12/14] Warning: block/blk-mq-dma.c:235 cannot understand function prototype: '/* * Premapped path: the buffer is persistently DMA-mapped as one contiguous IOVA * (dma_iova_*), so hand the whole mapping to the iterator as a single segment * instead of allocati...

kernel test robot <[email protected]> Fri, 31 Jul 2026 07:56:52 +0200
Newsgroups dev.linux.lists.llvm,dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git blk-iobuf-pool-v5-premap-iova
head:   912328a605c4767433d483436a2d592d06063095
commit: ca011e66fdccef93bc916c7cf32323ad7b6fe2e2 [12/14] block, io_uring: premap a pool buffer to exceed the dma_opt clamp
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260731/[email protected]/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260731/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> Warning: block/blk-mq-dma.c:235 cannot understand function prototype: '/*  * Premapped path: the buffer is persistently DMA-mapped as one contiguous IOVA  * (dma_iova_*), so hand the whole mapping to the iterator as a single segment  * instead of allocating an IOVA per I/O.  This is what lets a premapped request  * exceed the dma_opt_mapping_size() clamp folded into max_hw_sectors.  The  * completion path must NOT unmap it (see nvme_unmap_data).  *  * NOTE: this emits the mapping from its start, i.e. it assumes the request  * covers the buffer from offset 0.  The whole-buffer fixed-buffer command path  * used by the pool selftest satisfies that; an arbitrary buffer offset needs'
   Warning: block/blk-mq-dma.c:430 Excess function parameter 'state' description in 'blk_rq_integrity_dma_map_iter_next'
   Warning: block/blk-mq-dma.c:430 Excess function parameter 'state' description in 'blk_rq_integrity_dma_map_iter_next'
--
   Warning: block/blk-map.c:366 Excess function parameter 'op' description in 'bio_copy_kern'
>> Warning: block/blk-map.c:516 function parameter 'opts' not described in 'blk_rq_map_user_iov_opts'
>> Warning: block/blk-map.c:516 expecting prototype for blk_rq_map_user_iov(). Prototype was for blk_rq_map_user_iov_opts() instead
   Warning: block/blk-map.c:366 Excess function parameter 'op' description in 'bio_copy_kern'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki