From: kernel test robot <lkp@intel.com>
To: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Sat, 17 Aug 2024 05:52:01 +0800 [thread overview]
Message-ID: <202408170502.gnkAwijG-lkp@intel.com> (raw)
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
reply other threads:[~2024-08-16 21:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202408170502.gnkAwijG-lkp@intel.com \
--to=lkp@intel.com \
--cc=darrick.wong@oracle.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.