Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH mm-new] mm/zblock: add debugfs
       [not found] <20250427201958.491806-1-vitaly.wool@konsulko.se>
@ 2025-04-28  1:32 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-28  1:32 UTC (permalink / raw)
  To: Vitaly Wool, linux-kernel, linux-mm
  Cc: llvm, oe-kbuild-all, akpm, hannes, minchan, nphamcs, senozhatsky,
	shakeel.butt, yosry.ahmed, Igor Belousov, Vitaly Wool

Hi Vitaly,

kernel test robot noticed the following build errors:

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

url:    https://github.com/intel-lab-lkp/linux/commits/Vitaly-Wool/mm-zblock-add-debugfs/20250428-042209
base:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link:    https://lore.kernel.org/r/20250427201958.491806-1-vitaly.wool%40konsulko.se
patch subject: [PATCH mm-new] mm/zblock: add debugfs
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20250428/202504280934.X1Gqvqj1-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250428/202504280934.X1Gqvqj1-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/202504280934.X1Gqvqj1-lkp@intel.com/

All errors (new ones prefixed by >>):

>> mm/zblock.c:125:46: error: no member named 'num_pages' in 'struct block_desc'
     125 |                         i, block_list->block_count, block_desc[i].num_pages,
         |                                                     ~~~~~~~~~~~~~ ^
   mm/zblock.c:126:44: error: no member named 'num_pages' in 'struct block_desc'
     126 |                         block_list->block_count * block_desc[i].num_pages);
         |                                                   ~~~~~~~~~~~~~ ^
   2 errors generated.


vim +125 mm/zblock.c

   115	
   116	static int zblock_blocks_show(struct seq_file *s, void *v)
   117	{
   118		struct zblock_pool *pool = s->private;
   119		int i;
   120	
   121		for (i = 0; i < ARRAY_SIZE(block_desc); i++) {
   122			struct block_list *block_list = &pool->block_lists[i];
   123	
   124			seq_printf(s, "%d: %ld blocks of %d pages (total %ld pages)\n",
 > 125				i, block_list->block_count, block_desc[i].num_pages,
   126				block_list->block_count * block_desc[i].num_pages);
   127		}
   128		return 0;
   129	}
   130	DEFINE_SHOW_ATTRIBUTE(zblock_blocks);
   131	

-- 
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-28  1:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250427201958.491806-1-vitaly.wool@konsulko.se>
2025-04-28  1:32 ` [PATCH mm-new] mm/zblock: add debugfs 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