All of lore.kernel.org
 help / color / mirror / Atom feed
* [djwong-xfs:repair-quota 53/55] fs/xfs/scrub/scrub.c:359:12: error: 'xchk_setup_quotacheck' undeclared here (not in a function); did you mean
@ 2020-06-22 21:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-06-22 21:19 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 7252 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git repair-quota
head:   46c1bb2989f596b35ff8fd23fc42a15d36b27e96
commit: e46a7f62683636c9d03ed2b5fbfae74bff39a2b2 [53/55] xfs: implement live quotacheck inode scan
config: sparc-randconfig-r003-20200622 (attached as .config)
compiler: sparc-linux-gcc (GCC) 9.3.0
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
        git checkout e46a7f62683636c9d03ed2b5fbfae74bff39a2b2
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc 

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/scrub/scrub.c:359:12: error: 'xchk_setup_quotacheck' undeclared here (not in a function); did you mean 'xchk_setup_quota'?
     359 |   .setup = xchk_setup_quotacheck,
         |            ^~~~~~~~~~~~~~~~~~~~~
         |            xchk_setup_quota
>> fs/xfs/scrub/scrub.c:360:12: error: 'xchk_quotacheck' undeclared here (not in a function); did you mean 'xchk_quota'?
     360 |   .scrub = xchk_quotacheck,
         |            ^~~~~~~~~~~~~~~
         |            xchk_quota

vim +359 fs/xfs/scrub/scrub.c

   196	
   197	static const struct xchk_meta_ops meta_scrub_ops[] = {
   198		[XFS_SCRUB_TYPE_PROBE] = {	/* ioctl presence test */
   199			.type	= ST_NONE,
   200			.setup	= xchk_setup_fs,
   201			.scrub	= xchk_probe,
   202			.repair = xrep_probe,
   203		},
   204		[XFS_SCRUB_TYPE_SB] = {		/* superblock */
   205			.type	= ST_PERAG,
   206			.setup	= xchk_setup_fs,
   207			.scrub	= xchk_superblock,
   208			.repair	= xrep_superblock,
   209		},
   210		[XFS_SCRUB_TYPE_AGF] = {	/* agf */
   211			.type	= ST_PERAG,
   212			.setup	= xchk_setup_fs,
   213			.scrub	= xchk_agf,
   214			.repair	= xrep_agf,
   215		},
   216		[XFS_SCRUB_TYPE_AGFL]= {	/* agfl */
   217			.type	= ST_PERAG,
   218			.setup	= xchk_setup_fs,
   219			.scrub	= xchk_agfl,
   220			.repair	= xrep_agfl,
   221		},
   222		[XFS_SCRUB_TYPE_AGI] = {	/* agi */
   223			.type	= ST_PERAG,
   224			.setup	= xchk_setup_fs,
   225			.scrub	= xchk_agi,
   226			.repair	= xrep_agi,
   227		},
   228		[XFS_SCRUB_TYPE_BNOBT] = {	/* bnobt */
   229			.type	= ST_PERAG,
   230			.setup	= xchk_setup_ag_allocbt,
   231			.scrub	= xchk_bnobt,
   232			.repair	= xrep_allocbt,
   233			.repair_eval = xrep_revalidate_allocbt,
   234		},
   235		[XFS_SCRUB_TYPE_CNTBT] = {	/* cntbt */
   236			.type	= ST_PERAG,
   237			.setup	= xchk_setup_ag_allocbt,
   238			.scrub	= xchk_cntbt,
   239			.repair	= xrep_allocbt,
   240			.repair_eval = xrep_revalidate_allocbt,
   241		},
   242		[XFS_SCRUB_TYPE_INOBT] = {	/* inobt */
   243			.type	= ST_PERAG,
   244			.setup	= xchk_setup_ag_iallocbt,
   245			.scrub	= xchk_inobt,
   246			.repair	= xrep_iallocbt,
   247			.repair_eval = xrep_revalidate_iallocbt,
   248		},
   249		[XFS_SCRUB_TYPE_FINOBT] = {	/* finobt */
   250			.type	= ST_PERAG,
   251			.setup	= xchk_setup_ag_iallocbt,
   252			.scrub	= xchk_finobt,
   253			.has	= xfs_sb_version_hasfinobt,
   254			.repair	= xrep_iallocbt,
   255			.repair_eval = xrep_revalidate_iallocbt,
   256		},
   257		[XFS_SCRUB_TYPE_RMAPBT] = {	/* rmapbt */
   258			.type	= ST_PERAG,
   259			.setup	= xchk_setup_ag_rmapbt,
   260			.scrub	= xchk_rmapbt,
   261			.has	= xfs_sb_version_hasrmapbt,
   262			.repair	= xrep_notsupported,
   263		},
   264		[XFS_SCRUB_TYPE_REFCNTBT] = {	/* refcountbt */
   265			.type	= ST_PERAG,
   266			.setup	= xchk_setup_ag_refcountbt,
   267			.scrub	= xchk_refcountbt,
   268			.has	= xfs_sb_version_hasreflink,
   269			.repair	= xrep_refcountbt,
   270		},
   271		[XFS_SCRUB_TYPE_INODE] = {	/* inode record */
   272			.type	= ST_INODE,
   273			.setup	= xchk_setup_inode,
   274			.scrub	= xchk_inode,
   275			.repair	= xrep_inode,
   276		},
   277		[XFS_SCRUB_TYPE_BMBTD] = {	/* inode data fork */
   278			.type	= ST_INODE,
   279			.setup	= xchk_setup_inode_bmap,
   280			.scrub	= xchk_bmap_data,
   281			.repair	= xrep_bmap_data,
   282		},
   283		[XFS_SCRUB_TYPE_BMBTA] = {	/* inode attr fork */
   284			.type	= ST_INODE,
   285			.setup	= xchk_setup_inode_bmap,
   286			.scrub	= xchk_bmap_attr,
   287			.repair	= xrep_bmap_attr,
   288		},
   289		[XFS_SCRUB_TYPE_BMBTC] = {	/* inode CoW fork */
   290			.type	= ST_INODE,
   291			.setup	= xchk_setup_inode_bmap,
   292			.scrub	= xchk_bmap_cow,
   293			.repair	= xrep_notsupported,
   294		},
   295		[XFS_SCRUB_TYPE_DIR] = {	/* directory */
   296			.type	= ST_INODE,
   297			.setup	= xchk_setup_directory,
   298			.scrub	= xchk_directory,
   299			.repair	= xrep_dir,
   300		},
   301		[XFS_SCRUB_TYPE_XATTR] = {	/* extended attributes */
   302			.type	= ST_INODE,
   303			.setup	= xchk_setup_xattr,
   304			.scrub	= xchk_xattr,
   305			.repair	= xrep_xattr,
   306		},
   307		[XFS_SCRUB_TYPE_SYMLINK] = {	/* symbolic link */
   308			.type	= ST_INODE,
   309			.setup	= xchk_setup_symlink,
   310			.scrub	= xchk_symlink,
   311			.repair	= xrep_symlink,
   312		},
   313		[XFS_SCRUB_TYPE_PARENT] = {	/* parent pointers */
   314			.type	= ST_INODE,
   315			.setup	= xchk_setup_parent,
   316			.scrub	= xchk_parent,
   317			.repair	= xrep_notsupported,
   318		},
   319		[XFS_SCRUB_TYPE_RTBITMAP] = {	/* realtime bitmap */
   320			.type	= ST_FS,
   321			.setup	= xchk_setup_rtbitmap,
   322			.scrub	= xchk_rtbitmap,
   323			.has	= xfs_sb_version_hasrealtime,
   324			.repair	= xrep_notsupported,
   325		},
   326		[XFS_SCRUB_TYPE_RTSUM] = {	/* realtime summary */
   327			.type	= ST_FS,
   328			.setup	= xchk_setup_rtsummary,
   329			.scrub	= xchk_rtsummary,
   330			.has	= xfs_sb_version_hasrealtime,
   331			.repair	= xrep_rtsummary,
   332		},
   333		[XFS_SCRUB_TYPE_UQUOTA] = {	/* user quota */
   334			.type	= ST_FS,
   335			.setup	= xchk_setup_quota,
   336			.scrub	= xchk_quota,
   337			.repair	= xrep_quota,
   338		},
   339		[XFS_SCRUB_TYPE_GQUOTA] = {	/* group quota */
   340			.type	= ST_FS,
   341			.setup	= xchk_setup_quota,
   342			.scrub	= xchk_quota,
   343			.repair	= xrep_quota,
   344		},
   345		[XFS_SCRUB_TYPE_PQUOTA] = {	/* project quota */
   346			.type	= ST_FS,
   347			.setup	= xchk_setup_quota,
   348			.scrub	= xchk_quota,
   349			.repair	= xrep_quota,
   350		},
   351		[XFS_SCRUB_TYPE_FSCOUNTERS] = {	/* fs summary counters */
   352			.type	= ST_FS,
   353			.setup	= xchk_setup_fscounters,
   354			.scrub	= xchk_fscounters,
   355			.repair	= xrep_notsupported,
   356		},
   357		[XFS_SCRUB_TYPE_QUOTACHECK] = {	/* quota counters */
   358			.type	= ST_FS,
 > 359			.setup	= xchk_setup_quotacheck,
 > 360			.scrub	= xchk_quotacheck,
   361			.repair	= xrep_notsupported,
   362		},
   363	};
   364	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38543 bytes --]

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

only message in thread, other threads:[~2020-06-22 21:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22 21:19 [djwong-xfs:repair-quota 53/55] fs/xfs/scrub/scrub.c:359:12: error: 'xchk_setup_quotacheck' undeclared here (not in a function); did you mean kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.