[djwong-xfs:zero-initialize-pmem 128/309] fs/xfs/libxfs/xfs_imeta.c:80:1: error: unused function 'xfs_imeta_path_check'

From: kernel test robot
Date: Sat Sep 18 2021 - 02:12:34 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git zero-initialize-pmem
head: f712bfd382f71deb666686b6d969dc10592e7d79
commit: f8bff4818f00c161b751b3f5b24b15bcb43860a7 [128/309] xfs: create imeta abstractions to get and set metadata inodes
config: i386-buildonly-randconfig-r004-20210918 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c8b3d7d6d6de37af68b2f379d0e37304f78e115f)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=f8bff4818f00c161b751b3f5b24b15bcb43860a7
git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
git fetch --no-tags djwong-xfs zero-initialize-pmem
git checkout f8bff4818f00c161b751b3f5b24b15bcb43860a7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> fs/xfs/libxfs/xfs_imeta.c:80:1: error: unused function 'xfs_imeta_path_check' [-Werror,-Wunused-function]
xfs_imeta_path_check(
^
1 error generated.


vim +/xfs_imeta_path_check +80 fs/xfs/libxfs/xfs_imeta.c

77
78 /* Is this path ok? */
79 static inline bool
> 80 xfs_imeta_path_check(
81 const struct xfs_imeta_path *path)
82 {
83 return true;
84 }
85

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip