Re: [PATCH v3 11/15] iomap: move buffered io bio logic into new file

kernel test robot
2025-09-17T21:41:24Z

Hi Joanne,

kernel test robot noticed the following build warnings:

[auto build test WARNING on brauner-vfs/vfs.all]
[also build test WARNING on mszeredi-fuse/for-next axboe-block/for-next xiang-erofs/dev-test xiang-erofs/dev xiang-erofs/fixes gfs2/for-next xfs-linux/for-next linus/master v6.17-rc6 next-20250917]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Joanne-Koong/iomap-move-bio-read-logic-into-helper-function/20250917-075255
base: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
patch link: https://lore.kernel.org/r/20250916234425.1274735-12-joannelkoong%40gmail.com
patch subject: [PATCH v3 11/15] iomap: move buffered io bio logic into new file
config: x86_64-randconfig-071-20250918 (https://download.01.org/0day-ci/archive/20250918/202509180515.Cc8A1Wu9-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250918/202509180515.Cc8A1Wu9-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/202509180515.Cc8A1Wu9-lkp@intel.com/

All warnings (new ones prefixed by >>):

In file included from fs/iomap/buffered-io.c:11:
>> fs/iomap/internal.h:13:5: warning: no previous prototype for 'iomap_bio_read_folio_range_sync' [-Wmissing-prototypes]
13 | int iomap_bio_read_folio_range_sync(const struct iomap_iter *iter,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/iomap_bio_read_folio_range_sync +13 fs/iomap/internal.h

8
9 #ifdef CONFIG_BLOCK
10 int iomap_bio_read_folio_range_sync(const struct iomap_iter *iter,
11 struct folio *folio, loff_t pos, size_t len);
12 #else
> 13 int iomap_bio_read_folio_range_sync(const struct iomap_iter *iter,
14 struct folio *folio, loff_t pos, size_t len)
15 {
16 WARN_ON_ONCE(1);
17 return -EIO;
18 }
19 #endif /* CONFIG_BLOCK */
20

--
0-DAY CI Kernel Test Service