[driver-core:debugfs_cleanup 57/57] 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:   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@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