[linkinjeon-exfat:dev 1/1] fs/exfat/iomap.c:175:31: warning: 'exfat_swap_iomap_ops' defined but not used

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git dev
head:   20cb0bad8c3ad9220aff3e61e8703e17f72bb7f9
commit: 20cb0bad8c3ad9220aff3e61e8703e17f72bb7f9 [1/1] exfat: map allocated extents for swap activation
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20260828/[email protected]/config)
compiler: sh4-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260828/[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 >>):

>> fs/exfat/iomap.c:175:31: warning: 'exfat_swap_iomap_ops' defined but not used [-Wunused-const-variable=]
     175 | static const struct iomap_ops exfat_swap_iomap_ops = {
         |                               ^~~~~~~~~~~~~~~~~~~~


vim +/exfat_swap_iomap_ops +175 fs/exfat/iomap.c

   171	
   172	static DEFINE_IOMAP_ITER_NEXT(exfat_swap_iomap_next,
   173			exfat_swap_iomap_begin);
   174	
 > 175	static const struct iomap_ops exfat_swap_iomap_ops = {
   176		.iomap_next = exfat_swap_iomap_next,
   177	};
   178	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.