From: kernel test robot <lkp@intel.com>
To: "Darrick J. Wong" <djwong@kernel.org>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
"Darrick J. Wong" <darrick.wong@oracle.com>,
linux-kernel@vger.kernel.org
Subject: [djwong-xfs:scrub-drain-intents 311/311] fs/xfs/xfs_mount.h:425:3: error: implicit declaration of function 'xfs_rt_bump_intents'
Date: Tue, 20 Jul 2021 22:13:23 +0800 [thread overview]
Message-ID: <202107202200.XCQinfVK-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-07-20 14:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202107202200.XCQinfVK-lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=darrick.wong@oracle.com \
--cc=djwong@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®