lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 8 Aug 2021 11:01:21 +0800
From:   kernel test robot <lkp@...el.com>
To:     "Darrick J. Wong" <djwong@...nel.org>
Cc:     clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
        "Darrick J. Wong" <darrick.wong@...cle.com>,
        linux-kernel@...r.kernel.org
Subject: [djwong-xfs:vectorized-scrub 198/299] fs/xfs/./xfs_trace.h:1395:40:
 error: use of undeclared identifier 'XFS_RTLOCK_ALLOC'

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (35308 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ