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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
:::::: CC: Sage Weil <sage@xxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux