Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 923dcc5eb0c111eccd51cc7ce1658537e3c38b25 commit: ab23a7768739a23d21d8a16ca37dff96b1ca957a xfs: per-cpu deferred inode inactivation queues date: 4 months ago config: mips-randconfig-c004-20211119 (attached as .config) 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 # install mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ab23a7768739a23d21d8a16ca37dff96b1ca957a git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout ab23a7768739a23d21d8a16ca37dff96b1ca957a # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash fs/xfs/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> fs/xfs/xfs_icache.c:296:1: warning: unused function 'xfs_inew_wait' xfs_inew_wait( ^ fatal error: error in backend: Nested variants found in inline asm string: ' .set push .set noat .set push .set arch=r4000 .if ( 0x00 ) != -1)) 0x00 ) != -1)) : ($( static struct ftrace_branch_data __attribute__((__aligned__(4))) __attribute__((__section__("_ftrace_branch"))) __if_trace = $( .func = __func__, .file = "arch/mips/include/asm/cmpxchg.h", .line = 80, $); 0x00 ) != -1)) : $))) ) && ( 0 ); .set push; .set mips64r2; .rept 1; sync 0x00; .endr; .set pop; .else; ; .endif 1: ll $0, $2 # __xchg_asm .set pop move $$1, ${3:z} .set arch=r4000 sc $$1, $1 beqz $$1, 1b .set pop ' clang-14: error: clang frontend command failed with exit code 70 (use -v to see invocation) clang version 14.0.0 (git://gitmirror/llvm_project fefe20b99313d6b0738806d1504652c3b7edb9e0) Target: mipsel-unknown-linux Thread model: posix InstalledDir: /opt/cross/clang-fefe20b993/bin clang-14: note: diagnostic msg: Makefile arch block certs crypto drivers fs include init ipc kernel lib mm net scripts security sound source usr virt vim +/xfs_inew_wait +296 fs/xfs/xfs_icache.c ad438c4038968e Dave Chinner 2016-05-18 294 7fdff52623b4df Darrick J. Wong 2021-05-31 295 static inline void ae2c4ac2dd39b2 Brian Foster 2017-04-26 @296 xfs_inew_wait( ae2c4ac2dd39b2 Brian Foster 2017-04-26 297 struct xfs_inode *ip) ae2c4ac2dd39b2 Brian Foster 2017-04-26 298 { ae2c4ac2dd39b2 Brian Foster 2017-04-26 299 wait_queue_head_t *wq = bit_waitqueue(&ip->i_flags, __XFS_INEW_BIT); ae2c4ac2dd39b2 Brian Foster 2017-04-26 300 DEFINE_WAIT_BIT(wait, &ip->i_flags, __XFS_INEW_BIT); ae2c4ac2dd39b2 Brian Foster 2017-04-26 301 ae2c4ac2dd39b2 Brian Foster 2017-04-26 302 do { 2141713616c652 Ingo Molnar 2017-03-05 303 prepare_to_wait(wq, &wait.wq_entry, TASK_UNINTERRUPTIBLE); ae2c4ac2dd39b2 Brian Foster 2017-04-26 304 if (!xfs_iflags_test(ip, XFS_INEW)) ae2c4ac2dd39b2 Brian Foster 2017-04-26 305 break; ae2c4ac2dd39b2 Brian Foster 2017-04-26 306 schedule(); ae2c4ac2dd39b2 Brian Foster 2017-04-26 307 } while (true); 2141713616c652 Ingo Molnar 2017-03-05 308 finish_wait(wq, &wait.wq_entry); ae2c4ac2dd39b2 Brian Foster 2017-04-26 309 } ae2c4ac2dd39b2 Brian Foster 2017-04-26 310 :::::: The code at line 296 was first introduced by commit :::::: ae2c4ac2dd39b23a87ddb14ceddc3f2872c6aef5 xfs: update ag iterator to support wait on new inodes :::::: TO: Brian Foster :::::: CC: Darrick J. Wong --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org