include/linux/bio-integrity.h:104:12: warning: 'bio_integrity_map_user' defined but not used
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-6.14/io_uring head: a757ddcd74c4b78403e4b46080de6eb73a17ab9e commit: 465f05a6462bb67ff51c663759ca9b4952718205 [22/29] block: modify bio_integrity_map_user to accept iov_iter as argument config: sh-kfr2r09-romimage_defconfig (https://download.01.org/0day-ci/archive/20241130/[email protected]/config) compiler: sh4-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241130/[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 >>):
In file included from include/linux/blk-integrity.h:6,
from block/bdev.c:15: >> include/linux/bio-integrity.h:104:12: warning: 'bio_integrity_map_user' defined but not used [-Wunused-function]
104 | static int bio_integrity_map_user(struct bio *bio, struct iov_iter *iter)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/bio_integrity_map_user +104 include/linux/bio-integrity.h
103
> 104 static int bio_integrity_map_user(struct bio *bio, struct iov_iter *iter)
105 {
106 return -EINVAL;
107 }
108
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki