From: kernel test robot <lkp@intel.com>
To: aubrey.li@linux.intel.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [anolis-intel-cloud:devel-6.6 123/123] mm/shrinker.c:688:6: warning: no previous prototype for 'register_shrinker_prepared'
Date: Thu, 17 Apr 2025 14:06:08 +0800 [thread overview]
Message-ID: <202504171330.MY8oNTJW-lkp@intel.com> (raw)
tree: https://gitee.com/anolis/intel-cloud-kernel.git devel-6.6
head: 074661a2e2a9eb4c8a10f52d986487be78c957fc
commit: 4dbbc419d670b57c4e19ecfd80c33d649903f030 [123/123] mm: shrinker: remove old APIs
config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20250417/202504171330.MY8oNTJW-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250417/202504171330.MY8oNTJW-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/202504171330.MY8oNTJW-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/shrinker.c:688:6: warning: no previous prototype for 'register_shrinker_prepared' [-Wmissing-prototypes]
688 | void register_shrinker_prepared(struct shrinker *shrinker)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/register_shrinker_prepared +688 mm/shrinker.c
460ba8f99f94dc Qi Zheng 2023-09-11 687
460ba8f99f94dc Qi Zheng 2023-09-11 @688 void register_shrinker_prepared(struct shrinker *shrinker)
460ba8f99f94dc Qi Zheng 2023-09-11 689 {
460ba8f99f94dc Qi Zheng 2023-09-11 690 down_write(&shrinker_rwsem);
460ba8f99f94dc Qi Zheng 2023-09-11 691 list_add_tail(&shrinker->list, &shrinker_list);
460ba8f99f94dc Qi Zheng 2023-09-11 692 shrinker->flags |= SHRINKER_REGISTERED;
460ba8f99f94dc Qi Zheng 2023-09-11 693 shrinker_debugfs_add(shrinker);
460ba8f99f94dc Qi Zheng 2023-09-11 694 up_write(&shrinker_rwsem);
460ba8f99f94dc Qi Zheng 2023-09-11 695 }
460ba8f99f94dc Qi Zheng 2023-09-11 696
:::::: The code at line 688 was first introduced by commit
:::::: 460ba8f99f94dc0b8c8310c3fe2509dc34fa0d0b mm: vmscan: move shrinker-related code into a separate file
:::::: TO: Qi Zheng <zhengqi.arch@bytedance.com>
:::::: CC: 小龙 <wenqing.ly@alibaba-inc.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-04-17 6:07 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=202504171330.MY8oNTJW-lkp@intel.com \
--to=lkp@intel.com \
--cc=aubrey.li@linux.intel.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.