public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [djwong-xfs:vectorized-scrub 95/346] fs/xfs/xfs_inode.c:952:1: error: expected identifier or '('
@ 2022-03-11  9:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-11  9:26 UTC (permalink / raw)
  To: Darrick J. Wong; +Cc: llvm, kbuild-all, Darrick J. Wong, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git vectorized-scrub
head:   38ef7fcbbc5b33107155955dcd6ed6c92f4ceb91
commit: af5ea75e919d339b63fdbac6de44242559497a78 [95/346] xfs: track file link count updates during live nlinks fsck
config: hexagon-randconfig-r025-20220310 (https://download.01.org/0day-ci/archive/20220311/202203111719.V8By8dfs-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 276ca87382b8f16a65bddac700202924228982f6)
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=af5ea75e919d339b63fdbac6de44242559497a78
        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 af5ea75e919d339b63fdbac6de44242559497a78
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash fs/xfs/

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

>> fs/xfs/xfs_inode.c:952:1: error: expected identifier or '('
   XFS_HOOKS_SWITCH_DEFINE(xfs_nlinks_hooks_switch);
   ^
   fs/xfs/xfs_mount.h:78:42: note: expanded from macro 'XFS_HOOKS_SWITCH_DEFINE'
   # define XFS_HOOKS_SWITCH_DEFINE(name)  ((void)0)
                                             ^
>> fs/xfs/xfs_inode.c:952:1: error: expected ')'
   fs/xfs/xfs_mount.h:78:42: note: expanded from macro 'XFS_HOOKS_SWITCH_DEFINE'
   # define XFS_HOOKS_SWITCH_DEFINE(name)  ((void)0)
                                             ^
   fs/xfs/xfs_inode.c:952:1: note: to match this '('
   fs/xfs/xfs_mount.h:78:41: note: expanded from macro 'XFS_HOOKS_SWITCH_DEFINE'
   # define XFS_HOOKS_SWITCH_DEFINE(name)  ((void)0)
                                            ^
>> fs/xfs/xfs_inode.c:952:1: error: expected ')'
   XFS_HOOKS_SWITCH_DEFINE(xfs_nlinks_hooks_switch);
   ^
   fs/xfs/xfs_mount.h:78:47: note: expanded from macro 'XFS_HOOKS_SWITCH_DEFINE'
   # define XFS_HOOKS_SWITCH_DEFINE(name)  ((void)0)
                                                  ^
   fs/xfs/xfs_inode.c:952:1: note: to match this '('
   fs/xfs/xfs_mount.h:78:40: note: expanded from macro 'XFS_HOOKS_SWITCH_DEFINE'
   # define XFS_HOOKS_SWITCH_DEFINE(name)  ((void)0)
                                           ^
   3 errors generated.

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for OMAP_GPMC
   Depends on MEMORY && OF_ADDRESS
   Selected by
   - MTD_NAND_OMAP2 && MTD && MTD_RAW_NAND && (ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST && HAS_IOMEM


vim +952 fs/xfs/xfs_inode.c

   950	
   951	#ifdef CONFIG_XFS_LIVE_HOOKS
 > 952	XFS_HOOKS_SWITCH_DEFINE(xfs_nlinks_hooks_switch);
   953	

---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-11  9:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-11  9:26 [djwong-xfs:vectorized-scrub 95/346] fs/xfs/xfs_inode.c:952:1: error: expected identifier or '(' 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