lkml.org 
[lkml]   [2019]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectfs/ceph/debugfs.c:297:2: warning: 'return' with a value, in function returning void
tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git master
head: bed38c3e2dca01b358a62b5e73b46e875742fd75
commit: 1a829ff2a6c37187ff8020488e84ec392cb94854 ceph: no need to check return value of debugfs_create functions
date: 3 weeks ago
config: x86_64-randconfig-s1-07251243 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
git checkout 1a829ff2a6c37187ff8020488e84ec392cb94854
# 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@intel.com>

All warnings (new ones prefixed by >>):

fs/ceph/debugfs.c: In function 'ceph_fs_debugfs_init':
>> fs/ceph/debugfs.c:297:2: warning: 'return' with a value, in function returning void
return 0;
^

vim +/return +297 fs/ceph/debugfs.c

039934b8 Sage Weil 2009-11-12 294
1a829ff2 Greg Kroah-Hartman 2019-06-12 295 void ceph_fs_debugfs_init(struct ceph_fs_client *fsc)
039934b8 Sage Weil 2009-11-12 296 {
039934b8 Sage Weil 2009-11-12 @297 return 0;
039934b8 Sage Weil 2009-11-12 298 }
039934b8 Sage Weil 2009-11-12 299

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

:::::: TO: Sage Weil <sage@newdream.net>
:::::: CC: Sage Weil <sage@newdream.net>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2019-07-25 07:35    [W:0.039 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site