LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
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:vectorized-scrub 198/299] fs/xfs/./xfs_trace.h:1395:40: error: use of undeclared identifier 'XFS_RTLOCK_ALLOC'
Date: Sun, 8 Aug 2021 11:01:21 +0800	[thread overview]
Message-ID: <202108081114.WQDOXY7p-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-08-08  3:01 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=202108081114.WQDOXY7p-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 \
    --subject='Re: [djwong-xfs:vectorized-scrub 198/299] fs/xfs/./xfs_trace.h:1395:40: error: use of undeclared identifier '\''XFS_RTLOCK_ALLOC'\''' \
    /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

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).