Skip to contentSkip to conversation

fs/ntfs3/inode.c:972:34: sparse: sparse: symbol 'ntfs_writeback_ops' was not declared. Should it be static?

PATCH kernel test robot 1 participant 1 message Jan 6

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   6cd6c12031130a349a098dbeb19d8c3070d2dfbe
commit: 099ef9ab9203dff327f2d61e44773f9acbc01f13 [2634/3725] fs/ntfs3: implement iomap-based file operations
config: x86_64-randconfig-123-20260105 (https://download.01.org/0day-ci/archive/20260106/[email protected]/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260106/[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]/

sparse warnings: (new ones prefixed by >>)

>> fs/ntfs3/inode.c:972:34: sparse: sparse: symbol 'ntfs_writeback_ops' was not declared. Should it be static?

vim +/ntfs_writeback_ops +972 fs/ntfs3/inode.c

970
971

 > 972	const struct iomap_writeback_ops ntfs_writeback_ops = {

973 .writeback_range = ntfs_writeback_range,
974 .writeback_submit = iomap_ioend_writeback_submit,
975 };
976

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