[driver-core:debugfs_cleanup 57/57] net/ceph/debugfs.c:459:9: warning: 'return' with a value, in function returning void

kbuild test robot lkp at intel.com
Tue Mar 19 08:57:00 UTC 2019


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup
head:   6e9f7c08eb403975521108d1f10b77f8990cfe0c
commit: 6e9f7c08eb403975521108d1f10b77f8990cfe0c [57/57] ceph: fix changelog
config: x86_64-randconfig-u0-03191534 (attached as .config)
compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
reproduce:
        git checkout 6e9f7c08eb403975521108d1f10b77f8990cfe0c
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   net/ceph/debugfs.c: In function 'ceph_debugfs_init':
>> net/ceph/debugfs.c:459:9: warning: 'return' with a value, in function returning void
     return 0;
            ^
--
   fs/ceph/debugfs.c: In function 'ceph_fs_debugfs_init':
>> fs/ceph/debugfs.c:267:9: warning: 'return' with a value, in function returning void
     return 0;
            ^

vim +/return +459 net/ceph/debugfs.c

3d14c5d2 Yehuda Sadeh       2010-04-06  456  
6e9f7c08 Greg Kroah-Hartman 2019-01-04  457  void __init ceph_debugfs_init(void)
3d14c5d2 Yehuda Sadeh       2010-04-06  458  {
3d14c5d2 Yehuda Sadeh       2010-04-06 @459  	return 0;
3d14c5d2 Yehuda Sadeh       2010-04-06  460  }
3d14c5d2 Yehuda Sadeh       2010-04-06  461  

:::::: The code at line 459 was first introduced by commit
:::::: 3d14c5d2b6e15c21d8e5467dc62d33127c23a644 ceph: factor out libceph from Ceph file system

:::::: TO: Yehuda Sadeh <yehuda at hq.newdream.net>
:::::: CC: Sage Weil <sage at newdream.net>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 35036 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20190319/d09b6b67/attachment-0001.bin>


More information about the devel mailing list