From: kernel test robot <lkp@intel.com>
To: Mark Brown <broonie@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Namjae Jeon <linkinjeon@kernel.org>
Subject: [linkinjeon-ntfs:ntfs-next 47/48] fs/ntfs/file.c:657:6: error: call to undeclared function 'vma_desc_test'; ISO C99 and later do not support implicit function declarations
Date: Fri, 17 Apr 2026 04:33:14 +0800 [thread overview]
Message-ID: <202604170407.bqLb88Ri-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/ntfs.git ntfs-next
head: 75579d45c31244811d57ae99692b6c3d197560b4
commit: 50ba0870ccdba0b8fa15f1eb0e11bfa08185c383 [47/48] ntfs: fix build error due to vma_desc_test() rename
config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20260417/202604170407.bqLb88Ri-lkp@intel.com/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260417/202604170407.bqLb88Ri-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/202604170407.bqLb88Ri-lkp@intel.com/
All errors (new ones prefixed by >>):
>> fs/ntfs/file.c:657:6: error: call to undeclared function 'vma_desc_test'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
if (vma_desc_test(desc, VMA_WRITE_BIT)) {
^
1 error generated.
vim +/vma_desc_test +657 fs/ntfs/file.c
645
646 static int ntfs_file_mmap_prepare(struct vm_area_desc *desc)
647 {
648 struct file *file = desc->file;
649 struct inode *inode = file_inode(file);
650
651 if (NVolShutdown(NTFS_SB(file->f_mapping->host->i_sb)))
652 return -EIO;
653
654 if (NInoCompressed(NTFS_I(inode)))
655 return -EOPNOTSUPP;
656
> 657 if (vma_desc_test(desc, VMA_WRITE_BIT)) {
658 struct inode *inode = file_inode(file);
659 loff_t from, to;
660 int err;
661
662 from = ((loff_t)desc->pgoff << PAGE_SHIFT);
663 to = min_t(loff_t, i_size_read(inode),
664 from + desc->end - desc->start);
665
666 if (NTFS_I(inode)->initialized_size < to) {
667 err = ntfs_extend_initialized_size(inode, to, to, false);
668 if (err)
669 return err;
670 }
671 }
672
673
674 file_accessed(file);
675 desc->vm_ops = &ntfs_file_vm_ops;
676 return 0;
677 }
678
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-04-16 20:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-16 20:33 kernel test robot [this message]
2026-04-17 3:31 ` [linkinjeon-ntfs:ntfs-next 47/48] fs/ntfs/file.c:657:6: error: call to undeclared function 'vma_desc_test'; ISO C99 and later do not support implicit function declarations Namjae Jeon
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=202604170407.bqLb88Ri-lkp@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=linkinjeon@kernel.org \
--cc=llvm@lists.linux.dev \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox