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

kbuild test robot lkp at intel.com
Mon Jan 21 14:33:49 UTC 2019


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup
head:   94081c6f77f3899ac96ae7baa8c7bf13ccc1dfd2
commit: 633d249a0993958bc7f19599639256e46410b305 [115/119] ceph: fix changelog
config: x86_64-randconfig-a0-01211725 (attached as .config)
compiler: gcc-8 (Debian 8.2.0-14) 8.2.0
reproduce:
        git checkout 633d249a0993958bc7f19599639256e46410b305
        # 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;
            ^
   net//ceph/debugfs.c:457:13: note: declared here
    void __init ceph_debugfs_init(void)
                ^~~~~~~~~~~~~~~~~

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

3d14c5d2 Yehuda Sadeh       2010-04-06  456  
633d249a 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: 29622 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20190121/d7080712/attachment-0001.bin>


More information about the devel mailing list