public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* Re: [RFC PATCH v3 15/21] mm/zsmalloc: convert __free_zspage() to use zsdesc
       [not found] <20231130101242.2590384-16-42.hyeyoo@gmail.com>
@ 2023-12-05 20:08 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-05 20:08 UTC (permalink / raw)
  To: Hyeonggon Yoo; +Cc: llvm, oe-kbuild-all

Hi Hyeonggon,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:

[auto build test WARNING on akpm-mm/mm-everything]

url:    https://github.com/intel-lab-lkp/linux/commits/Hyeonggon-Yoo/mm-zsmalloc-create-new-struct-zsdesc/20231130-181616
base:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link:    https://lore.kernel.org/r/20231130101242.2590384-16-42.hyeyoo%40gmail.com
patch subject: [RFC PATCH v3 15/21] mm/zsmalloc: convert __free_zspage() to use zsdesc
config: i386-buildonly-randconfig-003-20231202 (https://download.01.org/0day-ci/archive/20231206/202312060342.tJyfMWv0-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/20231206/202312060342.tJyfMWv0-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/202312060342.tJyfMWv0-lkp@intel.com/

All warnings (new ones prefixed by >>):

   mm/zsmalloc.c:393:14: warning: no previous prototype for function 'zsdesc_zone' [-Wmissing-prototypes]
   struct zone *zsdesc_zone(struct zsdesc *zsdesc)
                ^
   mm/zsmalloc.c:393:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   struct zone *zsdesc_zone(struct zsdesc *zsdesc)
   ^
   static 
   mm/zsmalloc.c:286:29: warning: unused function 'zsdesc_pfn' [-Wunused-function]
   static inline unsigned long zsdesc_pfn(const struct zsdesc *zsdesc)
                               ^
   mm/zsmalloc.c:296:20: warning: unused function 'zsdesc_get' [-Wunused-function]
   static inline void zsdesc_get(struct zsdesc *zsdesc)
                      ^
>> mm/zsmalloc.c:320:20: warning: function 'zsdesc_is_locked' is not needed and will not be emitted [-Wunneeded-internal-declaration]
   static inline bool zsdesc_is_locked(struct zsdesc *zsdesc)
                      ^
   mm/zsmalloc.c:325:20: warning: unused function 'wait_on_zsdesc_locked' [-Wunused-function]
   static inline void wait_on_zsdesc_locked(struct zsdesc *zsdesc)
                      ^
   mm/zsmalloc.c:348:20: warning: unused function 'zsdesc_set_movable' [-Wunused-function]
   static inline void zsdesc_set_movable(struct zsdesc *zsdesc)
                      ^
   mm/zsmalloc.c:388:20: warning: unused function 'zsdesc_is_isolated' [-Wunused-function]
   static inline bool zsdesc_is_isolated(struct zsdesc *zsdesc)
                      ^
   7 warnings generated.


vim +/zsdesc_is_locked +320 mm/zsmalloc.c

   319	
 > 320	static inline bool zsdesc_is_locked(struct zsdesc *zsdesc)
   321	{
   322		return PageLocked(zsdesc_page(zsdesc));
   323	}
   324	

-- 
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-12-05 20:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20231130101242.2590384-16-42.hyeyoo@gmail.com>
2023-12-05 20:08 ` [RFC PATCH v3 15/21] mm/zsmalloc: convert __free_zspage() to use zsdesc kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox