[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202407052102.qbT7nLMK-lkp@intel.com>
Date: Fri, 5 Jul 2024 22:43:41 +0800
From: kernel test robot <lkp@...el.com>
To: alexs@...nel.org, Vitaly Wool <vitaly.wool@...sulko.com>,
Miaohe Lin <linmiaohe@...wei.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, minchan@...nel.org,
willy@...radead.org, senozhatsky@...omium.org, david@...hat.com,
42.hyeyoo@...il.com, Yosry Ahmed <yosryahmed@...gle.com>,
nphamcs@...il.com
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
Linux Memory Management List <linux-mm@...ck.org>,
Alex Shi <alexs@...nel.org>
Subject: Re: [PATCH v2 17/20] mm/zsmalloc: convert get/set_first_obj_offset()
to take zpdesc
Hi,
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/alexs-kernel-org/mm-zsmalloc-add-zpdesc-memory-descriptor-for-zswap-zpool/20240703-182314
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20240703040613.681396-18-alexs%40kernel.org
patch subject: [PATCH v2 17/20] mm/zsmalloc: convert get/set_first_obj_offset() to take zpdesc
config: i386-randconfig-002-20240705 (https://download.01.org/0day-ci/archive/20240705/202407052102.qbT7nLMK-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240705/202407052102.qbT7nLMK-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407052102.qbT7nLMK-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/zsmalloc.c:471:12: warning: function 'is_first_zpdesc' is not needed and will not be emitted [-Wunneeded-internal-declaration]
471 | static int is_first_zpdesc(struct zpdesc *zpdesc)
| ^~~~~~~~~~~~~~~
1 warning generated.
vim +/is_first_zpdesc +471 mm/zsmalloc.c
61989a80fb3ac9 drivers/staging/zsmalloc/zsmalloc-main.c Nitin Gupta 2012-01-09 470
3844a7927dcecc mm/zsmalloc.c Alex Shi 2024-07-03 @471 static int is_first_zpdesc(struct zpdesc *zpdesc)
3844a7927dcecc mm/zsmalloc.c Alex Shi 2024-07-03 472 {
3844a7927dcecc mm/zsmalloc.c Alex Shi 2024-07-03 473 return PagePrivate(zpdesc_page(zpdesc));
3844a7927dcecc mm/zsmalloc.c Alex Shi 2024-07-03 474 }
3844a7927dcecc mm/zsmalloc.c Alex Shi 2024-07-03 475
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists