LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [djwong-xfs:vectorized-scrub 198/299] fs/xfs/./xfs_trace.h:1395:40: error: use of undeclared identifier 'XFS_RTLOCK_ALLOC'
@ 2021-08-08 3:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-08 3:01 UTC (permalink / raw)
To: Darrick J. Wong
Cc: clang-built-linux, kbuild-all, Darrick J. Wong, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2938 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git vectorized-scrub
head: 5fc557f566b4196e3c3c77271840ba84bf158d3b
commit: fe4bf9efa3c4ee2c158b68ec9074a112b4653389 [198/299] xfs: refactor realtime inode locking
config: x86_64-randconfig-a004-20210804 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 41a6b50c25961addc04438b567ee1f4ef9e40f98)
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=fe4bf9efa3c4ee2c158b68ec9074a112b4653389
git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
git fetch --no-tags djwong-xfs vectorized-scrub
git checkout fe4bf9efa3c4ee2c158b68ec9074a112b4653389
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash
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:44:
In file included from fs/xfs/./xfs_trace.h:4512:
In file included from include/trace/define_trace.h:102:
In file included from include/trace/trace_events.h:427:
>> fs/xfs/./xfs_trace.h:1395:40: error: use of undeclared identifier 'XFS_RTLOCK_ALLOC'
__print_flags(__entry->flags, "|", XFS_RTLOCK_STRINGS))
^
fs/xfs/./xfs_trace.h:1380:4: note: expanded from macro 'XFS_RTLOCK_STRINGS'
{ XFS_RTLOCK_ALLOC, "rbm|rsum" }
^
1 error generated.
vim +/XFS_RTLOCK_ALLOC +1395 fs/xfs/./xfs_trace.h
1378
1379 #define XFS_RTLOCK_STRINGS \
1380 { XFS_RTLOCK_ALLOC, "rbm|rsum" }
1381
1382 DECLARE_EVENT_CLASS(xfs_rtlock_class,
1383 TP_PROTO(struct xfs_mount *mp, unsigned int flags),
1384 TP_ARGS(mp, flags),
1385 TP_STRUCT__entry(
1386 __field(dev_t, dev)
1387 __field(unsigned int, flags)
1388 ),
1389 TP_fast_assign(
1390 __entry->dev = mp->m_super->s_dev;
1391 __entry->flags = flags;
1392 ),
1393 TP_printk("dev %d:%d flags %s",
1394 MAJOR(__entry->dev), MINOR(__entry->dev),
> 1395 __print_flags(__entry->flags, "|", XFS_RTLOCK_STRINGS))
1396 )
1397 #define DEFINE_RTLOCK_EVENT(name) \
1398 DEFINE_EVENT(xfs_rtlock_class, name, \
1399 TP_PROTO(struct xfs_mount *mp, unsigned int flags), \
1400 TP_ARGS(mp, flags))
1401 DEFINE_RTLOCK_EVENT(xfs_rtlock);
1402 DEFINE_RTLOCK_EVENT(xfs_rtunlock);
1403
---
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: 35308 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-08 3:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-08 3:01 [djwong-xfs:vectorized-scrub 198/299] fs/xfs/./xfs_trace.h:1395:40: error: use of undeclared identifier 'XFS_RTLOCK_ALLOC' 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).