* [djwong-xfs:hch-wtf 75/253] fs/xfs/scrub/bmap.c:320:10: error: call to undeclared function 'xchk_rtgroup_init_existing'; ISO C99 and later do not support implicit function declarations
@ 2024-08-16 21:52 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-08-16 21:52 UTC (permalink / raw)
To: Darrick J. Wong; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git hch-wtf
head: 69e65efda7ca3f0b4a7fbf15a350611261769077
commit: dfce4a26676fa28f5f442069a95aba44fe9c1268 [75/253] xfs: move RT bitmap and summary information to the rtgroup
config: x86_64-buildonly-randconfig-006-20240817 (https://download.01.org/0day-ci/archive/20240817/202408170502.gnkAwijG-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240817/202408170502.gnkAwijG-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408170502.gnkAwijG-lkp@intel.com/
All errors (new ones prefixed by >>):
>> fs/xfs/scrub/bmap.c:320:10: error: call to undeclared function 'xchk_rtgroup_init_existing'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
320 | error = xchk_rtgroup_init_existing(info->sc,
| ^
fs/xfs/scrub/bmap.c:320:10: note: did you mean 'xchk_ag_init_existing'?
fs/xfs/scrub/common.h:113:1: note: 'xchk_ag_init_existing' declared here
113 | xchk_ag_init_existing(
| ^
1 error generated.
vim +/xchk_rtgroup_init_existing +320 fs/xfs/scrub/bmap.c
310
311 /* Cross-reference a single rtdev extent record. */
312 STATIC void
313 xchk_bmap_rt_iextent_xref(
314 struct xfs_inode *ip,
315 struct xchk_bmap_info *info,
316 struct xfs_bmbt_irec *irec)
317 {
318 int error;
319
> 320 error = xchk_rtgroup_init_existing(info->sc,
321 xfs_rtb_to_rgno(ip->i_mount, irec->br_startblock),
322 &info->sc->sr);
323 if (!xchk_fblock_process_error(info->sc, info->whichfork,
324 irec->br_startoff, &error))
325 return;
326
327 xchk_rtgroup_lock(&info->sc->sr, XCHK_RTGLOCK_ALL);
328 xchk_xref_is_used_rt_space(info->sc, irec->br_startblock,
329 irec->br_blockcount);
330
331 xchk_rtgroup_free(info->sc, &info->sc->sr);
332 }
333
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-16 21:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-16 21:52 [djwong-xfs:hch-wtf 75/253] fs/xfs/scrub/bmap.c:320:10: error: call to undeclared function 'xchk_rtgroup_init_existing'; ISO C99 and later do not support implicit function declarations 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.