All of lore.kernel.org
 help / color / mirror / Atom feed
* [chao:bugfix/syzbot 5/5] fs/f2fs/xattr.h:156:13: warning: 'f2fs_destroy_xattr_cache' defined but not used
@ 2025-10-13 17:24 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-10-13 17:24 UTC (permalink / raw)
  To: Chao Yu; +Cc: oe-kbuild-all, Chao Yu

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git bugfix/syzbot
head:   519a1cbfb1f287de5edded596f01a41af0cf25ec
commit: 519a1cbfb1f287de5edded596f01a41af0cf25ec [5/5] f2fs: use global inline_xattr_slab instead of per-sb slab cache
config: sparc-randconfig-002-20251013 (https://download.01.org/0day-ci/archive/20251014/202510140134.TvEMgTHM-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251014/202510140134.TvEMgTHM-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/202510140134.TvEMgTHM-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from fs/f2fs/file.c:31:
>> fs/f2fs/xattr.h:156:13: warning: 'f2fs_destroy_xattr_cache' defined but not used [-Wunused-function]
    static void f2fs_destroy_xattr_cache(void) { }
                ^~~~~~~~~~~~~~~~~~~~~~~~
>> fs/f2fs/xattr.h:155:19: warning: 'f2fs_init_xattr_cache' defined but not used [-Wunused-function]
    static int __init f2fs_init_xattr_cache(void) { return 0; }
                      ^~~~~~~~~~~~~~~~~~~~~


vim +/f2fs_destroy_xattr_cache +156 fs/f2fs/xattr.h

   140	
   141	#define f2fs_xattr_handlers	NULL
   142	#define f2fs_listxattr		NULL
   143	static inline int f2fs_setxattr(struct inode *inode, int index,
   144			const char *name, const void *value, size_t size,
   145			struct folio *folio, int flags)
   146	{
   147		return -EOPNOTSUPP;
   148	}
   149	static inline int f2fs_getxattr(struct inode *inode, int index,
   150				const char *name, void *buffer,
   151				size_t buffer_size, struct folio *dfolio)
   152	{
   153		return -EOPNOTSUPP;
   154	}
 > 155	static int __init f2fs_init_xattr_cache(void) { return 0; }
 > 156	static void f2fs_destroy_xattr_cache(void) { }
   157	#endif
   158	

-- 
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:[~2025-10-13 17:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-13 17:24 [chao:bugfix/syzbot 5/5] fs/f2fs/xattr.h:156:13: warning: 'f2fs_destroy_xattr_cache' defined but not used kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.