[djwong-xfs:vectorized-scrub 198/299] fs/xfs/./xfs_trace.h:1380:4: error: 'XFS_RTLOCK_ALLOC' undeclared; did you mean 'XFS_RTBLOCKLOG'?
From: kernel test robot
Date: Sat Aug 07 2021 - 18:58:21 EST
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: i386-randconfig-c021-20210804 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# 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
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
In file included from include/trace/define_trace.h:102,
from fs/xfs/xfs_trace.h:4512,
from fs/xfs/xfs_trace.c:44:
fs/xfs/./xfs_trace.h: In function 'trace_raw_output_xfs_rtlock_class':
>> fs/xfs/./xfs_trace.h:1380:4: error: 'XFS_RTLOCK_ALLOC' undeclared (first use in this function); did you mean 'XFS_RTBLOCKLOG'?
1380 | { XFS_RTLOCK_ALLOC, "rbm|rsum" }
| ^~~~~~~~~~~~~~~~
include/trace/trace_events.h:393:27: note: in definition of macro 'DECLARE_EVENT_CLASS'
393 | trace_event_printf(iter, print); \
| ^~~~~
fs/xfs/./xfs_trace.h:1393:2: note: in expansion of macro 'TP_printk'
1393 | TP_printk("dev %d:%d flags %s",
| ^~~~~~~~~
fs/xfs/./xfs_trace.h:1395:5: note: in expansion of macro '__print_flags'
1395 | __print_flags(__entry->flags, "|", XFS_RTLOCK_STRINGS))
| ^~~~~~~~~~~~~
fs/xfs/./xfs_trace.h:1395:40: note: in expansion of macro 'XFS_RTLOCK_STRINGS'
1395 | __print_flags(__entry->flags, "|", XFS_RTLOCK_STRINGS))
| ^~~~~~~~~~~~~~~~~~
fs/xfs/./xfs_trace.h:1380:4: note: each undeclared identifier is reported only once for each function it appears in
1380 | { XFS_RTLOCK_ALLOC, "rbm|rsum" }
| ^~~~~~~~~~~~~~~~
include/trace/trace_events.h:393:27: note: in definition of macro 'DECLARE_EVENT_CLASS'
393 | trace_event_printf(iter, print); \
| ^~~~~
fs/xfs/./xfs_trace.h:1393:2: note: in expansion of macro 'TP_printk'
1393 | TP_printk("dev %d:%d flags %s",
| ^~~~~~~~~
fs/xfs/./xfs_trace.h:1395:5: note: in expansion of macro '__print_flags'
1395 | __print_flags(__entry->flags, "|", XFS_RTLOCK_STRINGS))
| ^~~~~~~~~~~~~
fs/xfs/./xfs_trace.h:1395:40: note: in expansion of macro 'XFS_RTLOCK_STRINGS'
1395 | __print_flags(__entry->flags, "|", XFS_RTLOCK_STRINGS))
| ^~~~~~~~~~~~~~~~~~
vim +1380 fs/xfs/./xfs_trace.h
1378
1379 #define XFS_RTLOCK_STRINGS \
> 1380 { XFS_RTLOCK_ALLOC, "rbm|rsum" }
1381
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip