[djwong-xfs:llm-fixes-31 140/161] fs/xfs/scrub/repair.h:241:42: error: void value not ignored as it ought to be

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git llm-fixes-31
head:   99720b43a50e52830dacd44219a5f40dc8cab503
commit: 2e4dfa7b0b3e7bcac4c245421cf37c544e03a21e [140/161] xfs: always report inode repair setup failures
config: nios2-randconfig-002-20260822 (https://download.01.org/0day-ci/archive/20260822/[email protected]/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260822/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   In file included from fs/xfs/scrub/inode.c:28:
   fs/xfs/scrub/inode.c: In function 'xchk_setup_inode':
>> fs/xfs/scrub/repair.h:241:42: error: void value not ignored as it ought to be
     241 | #define xrep_setup_inode(sc, imap)      ((void)0)
         |                                         ~^~~~~~~~
   fs/xfs/scrub/inode.c:215:24: note: in expansion of macro 'xrep_setup_inode'
     215 |                 return xrep_setup_inode(sc, &imap);
         |                        ^~~~~~~~~~~~~~~~


vim +241 fs/xfs/scrub/repair.h

4bdfd7d15747b1 Darrick J. Wong 2023-12-15  240  
2d295fe65776d1 Darrick J. Wong 2023-12-15 @241  #define xrep_setup_inode(sc, imap)	((void)0)
2d295fe65776d1 Darrick J. Wong 2023-12-15  242  

:::::: The code at line 241 was first introduced by commit
:::::: 2d295fe65776d15c06d53dbe3064f62e036e7c46 xfs: repair inode records

:::::: TO: Darrick J. Wong <[email protected]>
:::::: CC: Darrick J. Wong <[email protected]>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.