[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201907251320.jFVuSEz5%lkp@intel.com>
Date: Thu, 25 Jul 2019 13:32:25 +0800
From: kbuild test robot <lkp@...el.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org
Subject: fs/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@...el.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@...dream.net>
:::::: CC: Sage Weil <sage@...dream.net>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (29177 bytes)
Powered by blists - more mailing lists