linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [mmotm:master 284/303] fs/cramfs/inode.c:959: undefined reference to `mount_mtd'
@ 2017-11-20  8:25 kbuild test robot
  2017-11-20 17:13 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2017-11-20  8:25 UTC (permalink / raw)
  To: Andrew Morton
  Cc: kbuild-all, Linux Memory Management List, Davidlohr Bueso,
	Johannes Weiner

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

Hi Andrew,

It's probably a bug fix that unveils the link errors.

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   21c4efa7694b072dddce68082e16156f24e1c1f0
commit: 6f06b543d9c12d8dc7f90e7a8f548df330bc8e4b [284/303] linux-next-git-rejects
config: i386-randconfig-x002-11201231 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        git checkout 6f06b543d9c12d8dc7f90e7a8f548df330bc8e4b
        # 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:959: undefined reference to `mount_mtd'
   fs/cramfs/inode.o: In function `cramfs_mtd_fill_super':
>> fs/cramfs/inode.c:641: undefined reference to `mtd_point'
>> fs/cramfs/inode.c:658: undefined reference to `mtd_unpoint'
   fs/cramfs/inode.c:659: undefined reference to `mtd_point'

vim +959 fs/cramfs/inode.c

^1da177e4 Linus Torvalds 2005-04-16  952  
934e54502 Andrew Morton  2017-11-11  953  static struct dentry *cramfs_mount(struct file_system_type *fs_type, int flags,
934e54502 Andrew Morton  2017-11-11  954  				   const char *dev_name, void *data)
^1da177e4 Linus Torvalds 2005-04-16  955  {
934e54502 Andrew Morton  2017-11-11  956  	struct dentry *ret = ERR_PTR(-ENOPROTOOPT);
934e54502 Andrew Morton  2017-11-11  957  
934e54502 Andrew Morton  2017-11-11  958  	if (IS_ENABLED(CONFIG_CRAMFS_MTD)) {
934e54502 Andrew Morton  2017-11-11 @959  		ret = mount_mtd(fs_type, flags, dev_name, data,
934e54502 Andrew Morton  2017-11-11  960  				cramfs_mtd_fill_super);
934e54502 Andrew Morton  2017-11-11  961  		if (!IS_ERR(ret))
934e54502 Andrew Morton  2017-11-11  962  			return ret;
934e54502 Andrew Morton  2017-11-11  963  	}
934e54502 Andrew Morton  2017-11-11  964  	if (IS_ENABLED(CONFIG_CRAMFS_BLOCKDEV)) {
934e54502 Andrew Morton  2017-11-11  965  		ret = mount_bdev(fs_type, flags, dev_name, data,
934e54502 Andrew Morton  2017-11-11  966  				 cramfs_blkdev_fill_super);
934e54502 Andrew Morton  2017-11-11  967  	}
934e54502 Andrew Morton  2017-11-11  968  	return ret;
^1da177e4 Linus Torvalds 2005-04-16  969  }
^1da177e4 Linus Torvalds 2005-04-16  970  

:::::: The code at line 959 was first introduced by commit
:::::: 934e54502aed49ec17d662a6bb35dfe79044fa4b linux-next

:::::: TO: Andrew Morton <akpm@linux-foundation.org>
:::::: CC: Johannes Weiner <hannes@cmpxchg.org>

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [mmotm:master 284/303] fs/cramfs/inode.c:959: undefined reference to `mount_mtd'
  2017-11-20  8:25 [mmotm:master 284/303] fs/cramfs/inode.c:959: undefined reference to `mount_mtd' kbuild test robot
@ 2017-11-20 17:13 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2017-11-20 17:13 UTC (permalink / raw)
  To: kbuild test robot, Andrew Morton
  Cc: kbuild-all, Linux Memory Management List, Davidlohr Bueso,
	Johannes Weiner, Nicolas Pitre

On 11/20/2017 12:25 AM, kbuild test robot wrote:
> Hi Andrew,
> 
> It's probably a bug fix that unveils the link errors.
> 
> tree:   git://git.cmpxchg.org/linux-mmotm.git master
> head:   21c4efa7694b072dddce68082e16156f24e1c1f0
> commit: 6f06b543d9c12d8dc7f90e7a8f548df330bc8e4b [284/303] linux-next-git-rejects
> config: i386-randconfig-x002-11201231 (attached as .config)
> compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
> reproduce:
>         git checkout 6f06b543d9c12d8dc7f90e7a8f548df330bc8e4b
>         # 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:959: undefined reference to `mount_mtd'
>    fs/cramfs/inode.o: In function `cramfs_mtd_fill_super':
>>> fs/cramfs/inode.c:641: undefined reference to `mtd_point'
>>> fs/cramfs/inode.c:658: undefined reference to `mtd_unpoint'
>    fs/cramfs/inode.c:659: undefined reference to `mtd_point'

Nicolas Pitre already has a patch for this.


> vim +959 fs/cramfs/inode.c
> 
> ^1da177e4 Linus Torvalds 2005-04-16  952  
> 934e54502 Andrew Morton  2017-11-11  953  static struct dentry *cramfs_mount(struct file_system_type *fs_type, int flags,
> 934e54502 Andrew Morton  2017-11-11  954  				   const char *dev_name, void *data)
> ^1da177e4 Linus Torvalds 2005-04-16  955  {
> 934e54502 Andrew Morton  2017-11-11  956  	struct dentry *ret = ERR_PTR(-ENOPROTOOPT);
> 934e54502 Andrew Morton  2017-11-11  957  
> 934e54502 Andrew Morton  2017-11-11  958  	if (IS_ENABLED(CONFIG_CRAMFS_MTD)) {
> 934e54502 Andrew Morton  2017-11-11 @959  		ret = mount_mtd(fs_type, flags, dev_name, data,
> 934e54502 Andrew Morton  2017-11-11  960  				cramfs_mtd_fill_super);
> 934e54502 Andrew Morton  2017-11-11  961  		if (!IS_ERR(ret))
> 934e54502 Andrew Morton  2017-11-11  962  			return ret;
> 934e54502 Andrew Morton  2017-11-11  963  	}
> 934e54502 Andrew Morton  2017-11-11  964  	if (IS_ENABLED(CONFIG_CRAMFS_BLOCKDEV)) {
> 934e54502 Andrew Morton  2017-11-11  965  		ret = mount_bdev(fs_type, flags, dev_name, data,
> 934e54502 Andrew Morton  2017-11-11  966  				 cramfs_blkdev_fill_super);
> 934e54502 Andrew Morton  2017-11-11  967  	}
> 934e54502 Andrew Morton  2017-11-11  968  	return ret;
> ^1da177e4 Linus Torvalds 2005-04-16  969  }
> ^1da177e4 Linus Torvalds 2005-04-16  970  
> 
> :::::: The code at line 959 was first introduced by commit
> :::::: 934e54502aed49ec17d662a6bb35dfe79044fa4b linux-next
> 
> :::::: TO: Andrew Morton <akpm@linux-foundation.org>
> :::::: CC: Johannes Weiner <hannes@cmpxchg.org>
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
> 


-- 
~Randy

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-20 17:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-20  8:25 [mmotm:master 284/303] fs/cramfs/inode.c:959: undefined reference to `mount_mtd' kbuild test robot
2017-11-20 17:13 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox