Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [linkinjeon-exfat:dev 1/1] fs/exfat/iomap.c:175:31: warning: unused variable 'exfat_swap_iomap_ops'
@ 2026-08-28  3:34 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-28  3:34 UTC (permalink / raw)
  To: Namjae Jeon; +Cc: llvm, oe-kbuild-all

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: s390-randconfig-001-20260828 (https://download.01.org/0day-ci/archive/20260828/202608281159.A0nWeJeg-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260828/202608281159.A0nWeJeg-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/202608281159.A0nWeJeg-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> fs/exfat/iomap.c:175:31: warning: unused variable 'exfat_swap_iomap_ops' [-Wunused-const-variable]
     175 | static const struct iomap_ops exfat_swap_iomap_ops = {
         |                               ^~~~~~~~~~~~~~~~~~~~
   1 warning generated.


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-28  3:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-28  3:34 [linkinjeon-exfat:dev 1/1] fs/exfat/iomap.c:175:31: warning: unused variable 'exfat_swap_iomap_ops' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox