fs/cramfs/inode.c:698: undefined reference to `mount_mtd'

From: kbuild test robot
Date: Tue Nov 21 2017 - 10:47:06 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e1d1ea549b57790a3d8cf6300e6ef86118d692a3
commit: 99c18ce580c6cc6763e694b4ce320d7b226ab59b cramfs: direct memory access support
date: 5 weeks ago
config: i386-randconfig-i1-201747 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
git checkout 99c18ce580c6cc6763e694b4ce320d7b226ab59b
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

fs/cramfs/inode.o: In function `cramfs_mount':
>> fs/cramfs/inode.c:698: undefined reference to `mount_mtd'
fs/cramfs/inode.o: In function `cramfs_mtd_fill_super':
>> fs/cramfs/inode.c:432: undefined reference to `mtd_point'
>> fs/cramfs/inode.c:449: undefined reference to `mtd_unpoint'
fs/cramfs/inode.c:450: undefined reference to `mtd_point'

vim +698 fs/cramfs/inode.c

691
692 static struct dentry *cramfs_mount(struct file_system_type *fs_type, int flags,
693 const char *dev_name, void *data)
694 {
695 struct dentry *ret = ERR_PTR(-ENOPROTOOPT);
696
697 if (IS_ENABLED(CONFIG_CRAMFS_MTD)) {
> 698 ret = mount_mtd(fs_type, flags, dev_name, data,
699 cramfs_mtd_fill_super);
700 if (!IS_ERR(ret))
701 return ret;
702 }
703 if (IS_ENABLED(CONFIG_CRAMFS_BLOCKDEV)) {
704 ret = mount_bdev(fs_type, flags, dev_name, data,
705 cramfs_blkdev_fill_super);
706 }
707 return ret;
708 }
709

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip