From: kernel test robot <lkp@intel.com>
To: Carlos Maiolino <cem@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
Lukas Czerner <lczerner@redhat.com>, Jan Kara <jack@suse.cz>
Subject: [akpm-mm:mm-unstable 161/178] mm/shmem_quota.c:286:5: warning: no previous prototype for function 'shmem_mark_dquot_dirty'
Date: Fri, 14 Jul 2023 13:10:19 +0800 [thread overview]
Message-ID: <202307141341.R961dyMt-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head: 6936d35dc558257b576113c74b586074dd942e9a
commit: 1eadb10f211346c9baf6daff1be3890f072ffd82 [161/178] shmem: prepare shmem quota infrastructure
config: s390-randconfig-r012-20230714 (https://download.01.org/0day-ci/archive/20230714/202307141341.R961dyMt-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/20230714/202307141341.R961dyMt-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/202307141341.R961dyMt-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/shmem_quota.c:286:5: warning: no previous prototype for function 'shmem_mark_dquot_dirty' [-Wmissing-prototypes]
286 | int shmem_mark_dquot_dirty(struct dquot *dquot)
| ^
mm/shmem_quota.c:286:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
286 | int shmem_mark_dquot_dirty(struct dquot *dquot)
| ^
| static
>> mm/shmem_quota.c:291:5: warning: no previous prototype for function 'shmem_dquot_write_info' [-Wmissing-prototypes]
291 | int shmem_dquot_write_info(struct super_block *sb, int type)
| ^
mm/shmem_quota.c:291:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
291 | int shmem_dquot_write_info(struct super_block *sb, int type)
| ^
| static
2 warnings generated.
vim +/shmem_mark_dquot_dirty +286 mm/shmem_quota.c
285
> 286 int shmem_mark_dquot_dirty(struct dquot *dquot)
287 {
288 return 0;
289 }
290
> 291 int shmem_dquot_write_info(struct super_block *sb, int type)
292 {
293 return 0;
294 }
295
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2023-07-14 5:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-14 5:10 kernel test robot [this message]
2023-07-14 15:57 ` Andrew Morton
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=202307141341.R961dyMt-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=cem@kernel.org \
--cc=jack@suse.cz \
--cc=lczerner@redhat.com \
--cc=linux-mm@kvack.org \
--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