LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [djwong-xfs:scrub-drain-intents 311/311] fs/xfs/xfs_mount.h:425:3: error: implicit declaration of function 'xfs_rt_bump_intents'
@ 2021-07-20 14:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-20 14:13 UTC (permalink / raw)
  To: Darrick J. Wong
  Cc: clang-built-linux, kbuild-all, Darrick J. Wong, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 4635 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git scrub-drain-intents
head:   674a3454cd9d70a84b90f6874236e08a186e35d2
commit: 674a3454cd9d70a84b90f6874236e08a186e35d2 [311/311] xfs: allow queued AG intents to drain before scrubbing
config: x86_64-randconfig-r016-20210720 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 87039c048c0cbc3d8cbba86187269b006bf2f373)
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/commit/?id=674a3454cd9d70a84b90f6874236e08a186e35d2
        git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
        git fetch --no-tags djwong-xfs scrub-drain-intents
        git checkout 674a3454cd9d70a84b90f6874236e08a186e35d2
        # 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@intel.com>

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_trace.c:13:
>> fs/xfs/xfs_mount.h:425:3: error: implicit declaration of function 'xfs_rt_bump_intents' [-Werror,-Wimplicit-function-declaration]
                   xfs_rt_bump_intents(mp);
                   ^
>> fs/xfs/xfs_mount.h:434:3: error: implicit declaration of function 'xfs_rt_drop_intents' [-Werror,-Wimplicit-function-declaration]
                   xfs_rt_drop_intents(mp);
                   ^
   2 errors generated.
--
   In file included from fs/xfs/xfs_log_recover.c:14:
>> fs/xfs/xfs_mount.h:425:3: error: implicit declaration of function 'xfs_rt_bump_intents' [-Werror,-Wimplicit-function-declaration]
                   xfs_rt_bump_intents(mp);
                   ^
>> fs/xfs/xfs_mount.h:434:3: error: implicit declaration of function 'xfs_rt_drop_intents' [-Werror,-Wimplicit-function-declaration]
                   xfs_rt_drop_intents(mp);
                   ^
   fs/xfs/xfs_log_recover.c:3557:12: warning: variable 'freeblks' set but not used [-Wunused-but-set-variable]
           uint64_t                freeblks;
                                   ^
   fs/xfs/xfs_log_recover.c:3559:12: warning: variable 'ifree' set but not used [-Wunused-but-set-variable]
           uint64_t                ifree;
                                   ^
   fs/xfs/xfs_log_recover.c:3558:12: warning: variable 'itotal' set but not used [-Wunused-but-set-variable]
           uint64_t                itotal;
                                   ^
   3 warnings and 2 errors generated.
--
   In file included from fs/xfs/xfs_log_recover.c:14:
>> fs/xfs/xfs_mount.h:425:3: error: implicit declaration of function 'xfs_rt_bump_intents' [-Werror,-Wimplicit-function-declaration]
                   xfs_rt_bump_intents(mp);
                   ^
>> fs/xfs/xfs_mount.h:434:3: error: implicit declaration of function 'xfs_rt_drop_intents' [-Werror,-Wimplicit-function-declaration]
                   xfs_rt_drop_intents(mp);
                   ^
   fs/xfs/xfs_log_recover.c:3558:12: warning: variable 'itotal' set but not used [-Wunused-but-set-variable]
           uint64_t                itotal;
                                   ^
   fs/xfs/xfs_log_recover.c:3557:12: warning: variable 'freeblks' set but not used [-Wunused-but-set-variable]
           uint64_t                freeblks;
                                   ^
   fs/xfs/xfs_log_recover.c:3559:12: warning: variable 'ifree' set but not used [-Wunused-but-set-variable]
           uint64_t                ifree;
                                   ^
   3 warnings and 2 errors generated.


vim +/xfs_rt_bump_intents +425 fs/xfs/xfs_mount.h

   420	
   421	static inline void
   422	xfs_fs_bump_intents(struct xfs_mount *mp, bool isrt, xfs_fsblock_t fsb)
   423	{
   424		if (isrt)
 > 425			xfs_rt_bump_intents(mp);
   426		else
   427			xfs_ag_bump_intents(mp, XFS_FSB_TO_AGNO(mp, fsb));
   428	}
   429	
   430	static inline void
   431	xfs_fs_drop_intents(struct xfs_mount *mp, bool isrt, xfs_fsblock_t fsb)
   432	{
   433		if (isrt)
 > 434			xfs_rt_drop_intents(mp);
   435		else
   436			xfs_ag_drop_intents(mp, XFS_FSB_TO_AGNO(mp, fsb));
   437	}
   438	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 46020 bytes --]

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

only message in thread, other threads:[~2021-07-20 14:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20 14:13 [djwong-xfs:scrub-drain-intents 311/311] fs/xfs/xfs_mount.h:425:3: error: implicit declaration of function 'xfs_rt_bump_intents' 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;
as well as URLs for NNTP newsgroup(s).