tree:
https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
quotaoff-cleanups-5.14
head: a1f5d2033e4e314fb8a52a151dd6e1f389f4bc4b
commit: 22506fb74c2f1170af9344fc7a84048185e19aca [9/13] xfs: move the quotaoff dqrele
inode walk into xfs_icache.c
config: x86_64-randconfig-a011-20210518 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
ceb1ac9812cb0972cfa34cecc5e5704ae2a22063)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/comm...
git remote add djwong-xfs
https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
git fetch --no-tags djwong-xfs quotaoff-cleanups-5.14
git checkout 22506fb74c2f1170af9344fc7a84048185e19aca
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> fs/xfs/xfs_icache.c:894:1: warning: no previous prototype for
function 'xfs_inode_walk' [-Wmissing-prototypes]
xfs_inode_walk(
^
fs/xfs/xfs_icache.c:893:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int
^
static
1 warning generated.
vim +/xfs_inode_walk +894 fs/xfs/xfs_icache.c
5662d38ccdbd9e Darrick J. Wong 2020-05-21 888
5662d38ccdbd9e Darrick J. Wong 2020-05-21 889 /*
5662d38ccdbd9e Darrick J. Wong 2020-05-21 890 * Call the @execute function on all
incore inodes matching the radix tree
5662d38ccdbd9e Darrick J. Wong 2020-05-21 891 * @tag.
5662d38ccdbd9e Darrick J. Wong 2020-05-21 892 */
5662d38ccdbd9e Darrick J. Wong 2020-05-21 893 int
042f65f4a79c81 Darrick J. Wong 2020-05-21 @894 xfs_inode_walk(
5662d38ccdbd9e Darrick J. Wong 2020-05-21 895 struct xfs_mount *mp,
5662d38ccdbd9e Darrick J. Wong 2020-05-21 896 int iter_flags,
5662d38ccdbd9e Darrick J. Wong 2020-05-21 897 int (*execute)(struct xfs_inode *ip,
void *args),
5662d38ccdbd9e Darrick J. Wong 2020-05-21 898 void *args,
5662d38ccdbd9e Darrick J. Wong 2020-05-21 899 int tag)
5662d38ccdbd9e Darrick J. Wong 2020-05-21 900 {
5662d38ccdbd9e Darrick J. Wong 2020-05-21 901 struct xfs_perag *pag;
5662d38ccdbd9e Darrick J. Wong 2020-05-21 902 int error = 0;
5662d38ccdbd9e Darrick J. Wong 2020-05-21 903 int last_error = 0;
5662d38ccdbd9e Darrick J. Wong 2020-05-21 904 xfs_agnumber_t ag;
5662d38ccdbd9e Darrick J. Wong 2020-05-21 905
5662d38ccdbd9e Darrick J. Wong 2020-05-21 906 ag = 0;
5662d38ccdbd9e Darrick J. Wong 2020-05-21 907 while ((pag =
xfs_inode_walk_get_perag(mp, ag, tag))) {
5662d38ccdbd9e Darrick J. Wong 2020-05-21 908 ag = pag->pag_agno + 1;
964176bd32da98 Darrick J. Wong 2020-05-21 909 error = xfs_inode_walk_ag(pag,
iter_flags, execute, args, tag);
5662d38ccdbd9e Darrick J. Wong 2020-05-21 910 xfs_perag_put(pag);
5662d38ccdbd9e Darrick J. Wong 2020-05-21 911 if (error) {
5662d38ccdbd9e Darrick J. Wong 2020-05-21 912 last_error = error;
5662d38ccdbd9e Darrick J. Wong 2020-05-21 913 if (error == -EFSCORRUPTED)
5662d38ccdbd9e Darrick J. Wong 2020-05-21 914 break;
5662d38ccdbd9e Darrick J. Wong 2020-05-21 915 }
5662d38ccdbd9e Darrick J. Wong 2020-05-21 916 }
5662d38ccdbd9e Darrick J. Wong 2020-05-21 917 return last_error;
5662d38ccdbd9e Darrick J. Wong 2020-05-21 918 }
5662d38ccdbd9e Darrick J. Wong 2020-05-21 919
:::::: The code at line 894 was first introduced by commit
:::::: 042f65f4a79c819d74309c2607959fccacc4094a xfs: straighten out all the naming around
incore inode tree walks
:::::: TO: Darrick J. Wong <darrick.wong(a)oracle.com>
:::::: CC: Darrick J. Wong <darrick.wong(a)oracle.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org