[driver-core:debugfs_cleanup 31/55] fs/ceph/debugfs.c:267: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:   46014e29feaf627416cde1fd5c21b37ff7f8b245
commit: 389881a7dbe15106b1f978a35c3c032002705dfd [31/55] ceph: no need to check return value of debugfs_create functions
config: x86_64-randconfig-u0-05192316 (attached as .config)
compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
reproduce:
        git checkout 389881a7dbe15106b1f978a35c3c032002705dfd
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

   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 +267 fs/ceph/debugfs.c

039934b8 Sage Weil          2009-11-12  264  
389881a7 Greg Kroah-Hartman 2019-01-04  265  void ceph_fs_debugfs_init(struct ceph_fs_client *fsc)
039934b8 Sage Weil          2009-11-12  266  {
039934b8 Sage Weil          2009-11-12 @267  	return 0;
039934b8 Sage Weil          2009-11-12  268  }
039934b8 Sage Weil          2009-11-12  269  

:::::: The code at line 267 was first introduced by commit
:::::: 039934b895c89c2bb40aa5132efe00e60b70efca ceph: build cleanly without CONFIG_DEBUG_FS

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