From: kernel test robot <lkp@intel.com>
To: Ivan Babrou <ivan@cloudflare.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
devel@driverdev.osuosl.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: [driver-core:driver-core-testing 2/16] fs/kernfs/mount.c:50:5: warning: no previous prototype for function 'kernfs_statfs'
Date: Sat, 5 Aug 2023 00:20:57 +0800 [thread overview]
Message-ID: <202308050054.TMaWFpME-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing
head: b84388be432d001b3baa782fa047eddb0f375233
commit: 26dd6e284e277f80468f48b4ff8ebfb0e9ca7369 [2/16] kernfs: attach uuid for every kernfs and report it in fsid
config: arm-randconfig-r005-20230801 (https://download.01.org/0day-ci/archive/20230805/202308050054.TMaWFpME-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20230805/202308050054.TMaWFpME-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308050054.TMaWFpME-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> fs/kernfs/mount.c:50:5: warning: no previous prototype for function 'kernfs_statfs' [-Wmissing-prototypes]
50 | int kernfs_statfs(struct dentry *dentry, struct kstatfs *buf)
| ^
fs/kernfs/mount.c:50:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
50 | int kernfs_statfs(struct dentry *dentry, struct kstatfs *buf)
| ^
| static
1 warning generated.
vim +/kernfs_statfs +50 fs/kernfs/mount.c
49
> 50 int kernfs_statfs(struct dentry *dentry, struct kstatfs *buf)
51 {
52 simple_statfs(dentry, buf);
53 buf->f_fsid = uuid_to_fsid(dentry->d_sb->s_uuid.b);
54 return 0;
55 }
56
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-08-04 16:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202308050054.TMaWFpME-lkp@intel.com \
--to=lkp@intel.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=ivan@cloudflare.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox