* [anolis-intel-cloud:devel-6.6 123/123] mm/shrinker.c:688:6: warning: no previous prototype for 'register_shrinker_prepared'
@ 2025-04-17 6:06 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-17 6:06 UTC (permalink / raw)
To: aubrey.li; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-04-17 6:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-17 6:06 [anolis-intel-cloud:devel-6.6 123/123] mm/shrinker.c:688:6: warning: no previous prototype for 'register_shrinker_prepared' kernel test robot
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.