All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android12-5.10 21/22] mm/swap_slots.c:95:6: warning: no previous prototype for function 'is_swap_slot_cache_enabled'
@ 2023-11-04  1:34 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-04  1:34 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android12-5.10
head:   f40707abde2eb5cd21cf8848f33aefb7e394ad1a
commit: e064059673798b931f95f724c7e377fa8cd15df7 [21/22] ANDROID: create and export is_swap_slot_cache_enabled
config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20231104/202311040904.arB2j5dZ-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231104/202311040904.arB2j5dZ-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/202311040904.arB2j5dZ-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> mm/swap_slots.c:95:6: warning: no previous prototype for function 'is_swap_slot_cache_enabled' [-Wmissing-prototypes]
   bool is_swap_slot_cache_enabled(void)
        ^
   mm/swap_slots.c:95:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   bool is_swap_slot_cache_enabled(void)
   ^
   static 
   mm/swap_slots.c:101:6: warning: no previous prototype for function 'check_cache_active' [-Wmissing-prototypes]
   bool check_cache_active(void)
        ^
   mm/swap_slots.c:101:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   bool check_cache_active(void)
   ^
   static 
   2 warnings generated.


vim +/is_swap_slot_cache_enabled +95 mm/swap_slots.c

    94	
  > 95	bool is_swap_slot_cache_enabled(void)
    96	{
    97		return swap_slot_cache_enabled;
    98	}
    99	EXPORT_SYMBOL_GPL(is_swap_slot_cache_enabled);
   100	

-- 
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:[~2023-11-04  1:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-04  1:34 [android-common:android12-5.10 21/22] mm/swap_slots.c:95:6: warning: no previous prototype for function 'is_swap_slot_cache_enabled' 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.