public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH v3 15/21] mm/zsmalloc: convert __free_zspage() to use zsdesc
Date: Wed, 6 Dec 2023 04:08:28 +0800	[thread overview]
Message-ID: <202312060342.tJyfMWv0-lkp@intel.com> (raw)
In-Reply-To: <20231130101242.2590384-16-42.hyeyoo@gmail.com>

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

           reply	other threads:[~2023-12-05 20:08 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20231130101242.2590384-16-42.hyeyoo@gmail.com>]

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=202312060342.tJyfMWv0-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=42.hyeyoo@gmail.com \
    --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